mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
Fixed Linux compilation error.
This commit is contained in:
parent
c6529ae86d
commit
84dd4c4e1d
1 changed files with 3 additions and 2 deletions
|
@ -355,10 +355,11 @@ void TestRunner::saveExistingHighFidelityAppDataFolder() {
|
|||
}
|
||||
|
||||
// Copy an "empty" AppData folder (i.e. no entities)
|
||||
QDir canonicalAppDataFolder;
|
||||
#ifdef Q_OS_WIN
|
||||
QDir canonicalAppDataFolder{ QDir::currentPath() + "/AppDataHighFidelity" };
|
||||
canonicalAppDataFolder = QDir::currentPath() + "/AppDataHighFidelity";
|
||||
#elif defined Q_OS_MAC
|
||||
QDir canonicalAppDataFolder{ QCoreApplication::applicationDirPath() + "/AppDataHighFidelity" };
|
||||
canonicalAppDataFolder = QCoreApplication::applicationDirPath() + "/AppDataHighFidelity";
|
||||
#endif
|
||||
if (canonicalAppDataFolder.exists()) {
|
||||
copyFolder(canonicalAppDataFolder.path(), _appDataFolder.path());
|
||||
|
|
Loading…
Reference in a new issue