Commit 6ab120ac authored by Gus Grubba's avatar Gus Grubba

Proper application data location for iOS

parent 2826f78b
...@@ -46,7 +46,7 @@ DECLARE_SETTINGGROUP(App, "") ...@@ -46,7 +46,7 @@ DECLARE_SETTINGGROUP(App, "")
if (savePathFact->rawValue().toString().isEmpty() && _nameToMetaDataMap[savePathName]->rawDefaultValue().toString().isEmpty()) { if (savePathFact->rawValue().toString().isEmpty() && _nameToMetaDataMap[savePathName]->rawDefaultValue().toString().isEmpty()) {
#ifdef __mobile__ #ifdef __mobile__
#ifdef __ios__ #ifdef __ios__
QDir rootDir = QDir(QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation)); QDir rootDir = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation));
#else #else
QDir rootDir = QDir(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation)); QDir rootDir = QDir(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation));
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment