summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-02-25 18:00:46 +0100
committerTannin <devnull@localhost>2015-02-25 18:00:46 +0100
commit6b4cb9ff4c7d5627a7b84c9969e5381063e60b93 (patch)
tree55d03a75ddf804a84f231664576d4a9b3cd330d9 /src/mainwindow.cpp
parentcbe84327c685626cf816f956b5857557a5f3090e (diff)
bugfix: crash when trying to delete mods (issue #1016)
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 9b7def0f..d8d8533c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2185,7 +2185,7 @@ void MainWindow::removeMod_clicked()
QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
// use mod names instead of indexes because those become invalid during the removal
foreach (QString name, modNames) {
- m_OrganizerCore.modList()->removeRowForce(ModInfo::getIndex(name));
+ m_OrganizerCore.modList()->removeRowForce(ModInfo::getIndex(name), QModelIndex());
}
}
} else {