mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 12:40:43 +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
|
||||
settings.setValue("Settings/AppData", settings.value("Settings/AppRoot"));
|
||||
} 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