Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
6ab120ac
Commit
6ab120ac
authored
Apr 29, 2019
by
Gus Grubba
Browse files
Proper application data location for iOS
parent
2826f78b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Settings/AppSettings.cc
View file @
6ab120ac
...
...
@@ -46,7 +46,7 @@ DECLARE_SETTINGGROUP(App, "")
if
(
savePathFact
->
rawValue
().
toString
().
isEmpty
()
&&
_nameToMetaDataMap
[
savePathName
]
->
rawDefaultValue
().
toString
().
isEmpty
())
{
#ifdef __mobile__
#ifdef __ios__
QDir
rootDir
=
QDir
(
QStandardPaths
::
writableLocation
(
QStandardPaths
::
Documents
Location
));
QDir
rootDir
=
QDir
(
QStandardPaths
::
writableLocation
(
QStandardPaths
::
AppData
Location
));
#else
QDir
rootDir
=
QDir
(
QStandardPaths
::
writableLocation
(
QStandardPaths
::
GenericDataLocation
));
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment