diff --git a/src/searchdialog/incompleteindexdialog.cpp b/src/searchdialog/incompleteindexdialog.cpp index c50ed703e..653685be9 100644 --- a/src/searchdialog/incompleteindexdialog.cpp +++ b/src/searchdialog/incompleteindexdialog.cpp @@ -221,7 +221,7 @@ void IncompleteIndexDialog::slotCurrentlyIndexingCollectionChanged(qlonglong col { const int idx = mIndexingQueue.indexOf(colId); if (idx > -1) { - mIndexingQueue.removeAll(idx); + mIndexingQueue.removeAll(colId); mProgressDialog->setValue(mProgressDialog->maximum() - mIndexingQueue.size()); if (mIndexingQueue.isEmpty()) {