remove hardcoded seperator at players.ini + crews.ini
This commit is contained in:
parent
0089a6d7f6
commit
1d99ce1b4a
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ CrewDatabase::CrewDatabase(QObject *parent) : QObject(parent)
|
||||||
dir.setPath(StandardPaths::dataLocation());
|
dir.setPath(StandardPaths::dataLocation());
|
||||||
dir.mkdir("../gta5sync");
|
dir.mkdir("../gta5sync");
|
||||||
QString dirPath = dir.absolutePath();
|
QString dirPath = dir.absolutePath();
|
||||||
QString defaultConfPath = dirPath + "/crews.ini";
|
QString defaultConfPath = dirPath + QDir::separator() + "crews.ini";
|
||||||
|
|
||||||
QSettings confPathSettings("Syping","gta5sync");
|
QSettings confPathSettings("Syping","gta5sync");
|
||||||
confPathSettings.beginGroup("Database");
|
confPathSettings.beginGroup("Database");
|
||||||
|
|
|
@ -27,7 +27,7 @@ ProfileDatabase::ProfileDatabase(QObject *parent) : QObject(parent)
|
||||||
dir.setPath(StandardPaths::dataLocation());
|
dir.setPath(StandardPaths::dataLocation());
|
||||||
dir.mkdir("../gta5sync");
|
dir.mkdir("../gta5sync");
|
||||||
QString dirPath = dir.absolutePath();
|
QString dirPath = dir.absolutePath();
|
||||||
QString defaultConfPath = dirPath + "/players.ini";
|
QString defaultConfPath = dirPath + QDir::separator() + "players.ini";
|
||||||
|
|
||||||
QSettings confPathSettings("Syping","gta5sync");
|
QSettings confPathSettings("Syping","gta5sync");
|
||||||
confPathSettings.beginGroup("Database");
|
confPathSettings.beginGroup("Database");
|
||||||
|
|
Loading…
Reference in a new issue