From 9fdf3b759d558dc5f021b4cc408e3d409d9a19d1 Mon Sep 17 00:00:00 2001 From: Chris Bessent Date: Sun, 2 Jan 2022 04:54:22 -0700 Subject: Fix update checking for files not installed from the downloads This is the difference between "D:\Downloads\USSEP.7z" and "USSEP.7z". --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7c34c195..028aabfd 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2939,7 +2939,7 @@ void MainWindow::nxmUpdatesAvailable(QString gameName, int modID, QVariant userD for (auto mod : modsList) { QString validNewVersion; int newModStatus = -1; - QString installedFile = mod->installationFile(); + QString installedFile = QFileInfo(mod->installationFile()).fileName(); if (!installedFile.isEmpty()) { QVariantMap foundFileData; -- cgit v1.3.1