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
+1 -1
View File
@@ -126,7 +126,7 @@ JFileSystem::JFileSystem(const string & _userPath, const string & _systemPath)
DebugTrace("User path " << userPath); DebugTrace("User path " << userPath);
#elif defined (QT_CONFIG) #elif defined (QT_CONFIG)
QDir sysDir("projects/mtg/bin/Res"); QDir sysDir(RESDIR);
QDir dir(QDir::homePath()); QDir dir(QDir::homePath());
dir.mkdir(USERDIR); dir.mkdir(USERDIR);
dir.cd(USERDIR); dir.cd(USERDIR);
+2 -1
View File
@@ -27,4 +27,5 @@ qmake projects/mtg/wagic-qt.pro CONFIG+=console CONFIG+=debug DEFINES+=CAPTURE_S
make -j 8 make -j 8
# and finish by running the testsuite # and finish by running the testsuite
./wagic cd projects/mtg
./../../wagic