aboutsummaryrefslogtreecommitdiff
path: root/src/qt/receivecoinsdialog.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2015-07-06 08:11:34 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2015-07-07 06:53:43 +0200
commit5e058e74179f0e4ad62841ca82536f61b4673a1d (patch)
treefca1ea7a9c5cd58ff93e0f088a02f1a8dea21b7b /src/qt/receivecoinsdialog.cpp
parentd0a10c1959176eb40c0ec47a56de00820c59066d (diff)
[Qt] constify foreach uses where possible
- this doesn't replace BOOST_FOREACH, it just makes used arguments const where possible
Diffstat (limited to 'src/qt/receivecoinsdialog.cpp')
-rw-r--r--src/qt/receivecoinsdialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/receivecoinsdialog.cpp b/src/qt/receivecoinsdialog.cpp
index 28cbd3abed..fd225f51a6 100644
--- a/src/qt/receivecoinsdialog.cpp
+++ b/src/qt/receivecoinsdialog.cpp
@@ -185,8 +185,7 @@ void ReceiveCoinsDialog::on_showRequestButton_clicked()
return;
QModelIndexList selection = ui->recentRequestsView->selectionModel()->selectedRows();
- foreach (QModelIndex index, selection)
- {
+ foreach (const QModelIndex& index, selection) {
on_recentRequestsView_doubleClicked(index);
}
}