mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-21 21:20:45 +00:00
Prepend StandardDirs::Documents (~/Documents) to get AppData path
This commit is contained in:
parent
83fd3cb070
commit
87cc4eae34
@ -335,7 +335,7 @@ int main(int argc, char *argv[])
|
|||||||
if ( settings.contains("Settings/AppRoot") ) { // allow for old AppRoot here - not really first time
|
if ( settings.contains("Settings/AppRoot") ) { // allow for old AppRoot here - not really first time
|
||||||
settings.setValue("Settings/AppData", settings.value("Settings/AppRoot"));
|
settings.setValue("Settings/AppData", settings.value("Settings/AppRoot"));
|
||||||
} else {
|
} else {
|
||||||
settings.setValue("Settings/AppData", getModifiedAppData()); // set up new data directory path
|
settings.setValue("Settings/AppData", homeDocs + "/" + getModifiedAppData()); // set up new data directory path
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user