changed StandardPaths class
This commit is contained in:
parent
c82e7cf8e6
commit
2162bdc125
10 changed files with 66 additions and 118 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue