mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 22:42:05 +02:00
Use QDir::setPath
This commit is contained in:
parent
167742e6ea
commit
647e2a43f1
1 changed files with 3 additions and 3 deletions
|
@ -321,13 +321,13 @@ void TestRunnerDesktop::saveExistingHighFidelityAppDataFolder() {
|
|||
dataDirectory = QDir::homePath() + "/Library/Application Support";
|
||||
#endif
|
||||
if (_runLatest->isChecked()) {
|
||||
_appDataFolder = dataDirectory + "/Vircadia";
|
||||
_appDataFolder.setPath(dataDirectory + "/Vircadia");
|
||||
} else {
|
||||
// We are running a PR build
|
||||
_appDataFolder = dataDirectory + "/Vircadia - " + getPRNumberFromURL(_url->text());
|
||||
_appDataFolder.setPath(dataDirectory + "/Vircadia - " + getPRNumberFromURL(_url->text()));
|
||||
}
|
||||
|
||||
_savedAppDataFolder = dataDirectory + "/" + UNIQUE_FOLDER_NAME;
|
||||
_savedAppDataFolder.setPath(dataDirectory + "/" + UNIQUE_FOLDER_NAME);
|
||||
if (QDir(_savedAppDataFolder).exists()) {
|
||||
_savedAppDataFolder.removeRecursively();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue