Remove element not index. Now progress dialog is closed when we indexed all collections

wilder-work
Montel Laurent 9 years ago
parent fa0a2ec55c
commit 73bfeb9897
  1. 2
      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()) {

Loading…
Cancel
Save