Fixed #8473 (GUI: Missing addon, not looking in executable path subfolder)

This commit is contained in:
Daniel Marjamäki 2018-04-07 10:32:10 +02:00
parent a828d2a199
commit e240f8cee8
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ QString CheckThread::getAddonFilePath(const QString &dataDir, const QString &add
const QString appPath = QApplication::applicationDirPath(); const QString appPath = QApplication::applicationDirPath();
foreach (const QString p, paths) { foreach (const QString p, paths) {
if (QFileInfo(dataDir + p + addonFile).exists()) if (QFileInfo(appPath + p + addonFile).exists())
return appPath + p + addonFile; return appPath + p + addonFile;
} }