mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
Use constants cbegin and cend (#876)
This commit is contained in:
parent
02ce3cb731
commit
3706f13f0a
@ -131,7 +131,7 @@ SearchWidget::SearchWidget(MainWindow *main, QAction *action) :
|
|||||||
|
|
||||||
ui->searchInCombo->blockSignals(true);
|
ui->searchInCombo->blockSignals(true);
|
||||||
QMap<QString, QString>::const_iterator mapIter;
|
QMap<QString, QString>::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->addItem(mapIter.value(), mapIter.key());
|
||||||
ui->searchInCombo->blockSignals(false);
|
ui->searchInCombo->blockSignals(false);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user