Fixed #8473 (GUI: Missing addon, not looking in executable path subfolder)
This commit is contained in:
parent
a828d2a199
commit
e240f8cee8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue