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; }