diff options
| author | Chris Bessent <lost.dragonist@gmail.com> | 2022-01-05 12:12:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-05 12:12:03 -0700 |
| commit | b4bbb09cb553e7b139dc7dab1216e98c31c035ed (patch) | |
| tree | a8576e3807411c2e23cae7d2d0cd2a737452bf31 /src/mainwindow.cpp | |
| parent | 1df1ea5e11e9f068f3d1c34ee9b2d911489fb98c (diff) | |
| parent | 9fdf3b759d558dc5f021b4cc408e3d409d9a19d1 (diff) | |
Merge pull request #1643 from ModOrganizer2/update_fix
Fix update checking for files not installed from the downloads
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
