From 508a6723a239f649907a4454ae8d9f99533ffa51 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() --HG-- branch : develop --- 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);