changed StandardPaths class

This commit is contained in:
Rafael 2016-03-28 13:18:39 +02:00
parent c82e7cf8e6
commit 2162bdc125
10 changed files with 66 additions and 118 deletions

View file

@ -24,7 +24,7 @@
ProfileDatabase::ProfileDatabase(QObject *parent) : QObject(parent)
{
QDir dir;
dir.setPath(StandardPaths::writableLocation(StandardPaths::DataLocation));
dir.setPath(StandardPaths::dataLocation());
dir.mkdir("../gta5sync");
QString dirPath = dir.absolutePath();
QString defaultConfPath = dirPath + "/players.ini";