fix statement has no effect warning (#2110)

This commit is contained in:
Liumeo 2020-03-23 12:33:55 -04:00 committed by GitHub
parent 5fb7fa5b99
commit d202b7d15d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,7 +220,7 @@ void SearchWidget::updateSearchBoundaries()
ui->searchInCombo->blockSignals(true);
ui->searchInCombo->clear();
for (mapIter; mapIter != boundaries.cend(); ++mapIter) {
for (; mapIter != boundaries.cend(); ++mapIter) {
ui->searchInCombo->addItem(mapIter.value(), mapIter.key());
}
ui->searchInCombo->blockSignals(false);