Do not specify the system directory in JGE

This commit is contained in:
Tobias Loose
2013-12-04 11:44:36 +01:00
parent 318fc98a39
commit 657479e0e4
2 changed files with 3 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ JFileSystem::JFileSystem(const string & _userPath, const string & _systemPath)
DebugTrace("User path " << userPath);
#elif defined (QT_CONFIG)
QDir sysDir("projects/mtg/bin/Res");
QDir sysDir(RESDIR);
QDir dir(QDir::homePath());
dir.mkdir(USERDIR);
dir.cd(USERDIR);