From e240f8cee8168b34107cc0496b93ea587b662272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 7 Apr 2018 10:32:10 +0200 Subject: [PATCH] Fixed #8473 (GUI: Missing addon, not looking in executable path subfolder) --- gui/checkthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/checkthread.cpp b/gui/checkthread.cpp index dfdaa41d7..dd9b1e2ed 100644 --- a/gui/checkthread.cpp +++ b/gui/checkthread.cpp @@ -516,7 +516,7 @@ QString CheckThread::getAddonFilePath(const QString &dataDir, const QString &add const QString appPath = QApplication::applicationDirPath(); foreach (const QString p, paths) { - if (QFileInfo(dataDir + p + addonFile).exists()) + if (QFileInfo(appPath + p + addonFile).exists()) return appPath + p + addonFile; }