diff --git a/src/widgets/SearchWidget.cpp b/src/widgets/SearchWidget.cpp index 9cb57370..2bfa30d2 100644 --- a/src/widgets/SearchWidget.cpp +++ b/src/widgets/SearchWidget.cpp @@ -131,7 +131,7 @@ SearchWidget::SearchWidget(MainWindow *main, QAction *action) : ui->searchInCombo->blockSignals(true); QMap::const_iterator mapIter; - for (mapIter = kSearchBoundariesValues.begin(); mapIter != kSearchBoundariesValues.end(); ++mapIter) + for (mapIter = kSearchBoundariesValues.cbegin(); mapIter != kSearchBoundariesValues.cend(); ++mapIter) ui->searchInCombo->addItem(mapIter.value(), mapIter.key()); ui->searchInCombo->blockSignals(false);