From f413f6e488fbe73cb5f0833ac0c5f510ae6bfcf6 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 18 Oct 2016 10:24:10 +0200 Subject: [PATCH] Changed: Use getInstallerCurrentDirPath() instead of QApplication::applicationDirPath() --- code/ryzom/tools/client/ryzom_installer/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/main.cpp b/code/ryzom/tools/client/ryzom_installer/src/main.cpp index 31fbf12e3..4982fcad8 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/main.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/main.cpp @@ -157,7 +157,7 @@ int main(int argc, char *argv[]) QString tempPath = QStandardPaths::writableLocation(QStandardPaths::TempLocation); // check if launched from TEMP directory - if (step == Done && !QApplication::applicationDirPath().startsWith(tempPath)) + if (step == Done && !config.getInstallerCurrentDirPath().startsWith(tempPath)) { // try to delete all temporary installers QDir tempDir(tempPath);