- Reworked Qt frontend to be fully based on QML (Qtmain.cpp still contains most of the old code as I need to perform additional tests on Maemo/Meego and Linux)

- Modified the download of resources to happen on every platform
- Resources are now stored based on the home directory
This commit is contained in:
Xawotihs
2012-01-06 21:45:08 +00:00
parent 6d5342c02b
commit 1f3aedcd3f
7 changed files with 516 additions and 151 deletions

View File

@@ -116,8 +116,10 @@ JFileSystem::JFileSystem(const string & _userPath, const string & _systemPath)
userPath = "/sdcard/Wagic/Res/";
systemPath = "";
#elif defined (QT_CONFIG)
userPath = USERDIR;
systemPath = RESDIR;
// userPath = USERDIR;
// systemPath = RESDIR;
userPath = QDir::toNativeSeparators(QDir::homePath()).toStdString() + "/.wagic/";
systemPath = "";
#else
//Find the Res.txt file and matching Res folders for backwards compatibility
ifstream mfile("Res.txt");