Skip to content

Commit 9fdf3b7

Browse files
committed
Fix update checking for files not installed from the downloads
This is the difference between "D:\Downloads\USSEP.7z" and "USSEP.7z".
1 parent 1df1ea5 commit 9fdf3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2939,7 +2939,7 @@ void MainWindow::nxmUpdatesAvailable(QString gameName, int modID, QVariant userD
29392939
for (auto mod : modsList) {
29402940
QString validNewVersion;
29412941
int newModStatus = -1;
2942-
QString installedFile = mod->installationFile();
2942+
QString installedFile = QFileInfo(mod->installationFile()).fileName();
29432943

29442944
if (!installedFile.isEmpty()) {
29452945
QVariantMap foundFileData;

0 commit comments

Comments
 (0)