mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
Bugfix for launching desktop support.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@876 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6bf3fb178a
commit
ac4e2cefb5
1 changed files with 3 additions and 2 deletions
|
@ -61,6 +61,7 @@
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#define FONT QFont(tr("Arial"), 8)
|
#define FONT QFont(tr("Arial"), 8)
|
||||||
|
|
||||||
|
@ -792,10 +793,10 @@ void openFile(std::string path)
|
||||||
{
|
{
|
||||||
std::cerr << "[WIN] openPath() Very Small path ignoring: " << path;
|
std::cerr << "[WIN] openPath() Very Small path ignoring: " << path;
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((path[1] == ':') && (path.[2] == '\'))
|
if ((path[1] == ':') && ((path[2] == '\\') || (path[2] == '/')))
|
||||||
{
|
{
|
||||||
isAbs = true;
|
isAbs = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue