diff options
| author | Jorge Timón <[email protected]> | 2017-06-02 03:25:02 +0200 |
|---|---|---|
| committer | Jorge Timón <[email protected]> | 2017-06-05 20:11:01 +0200 |
| commit | 18dc3c396299caccb0df31254aaec0d08b70dd2a (patch) | |
| tree | 05b0ce630dbc47a5f842f50fce46f891b1482108 /src/qt/transactiontablemodel.cpp | |
| parent | scripted-diff: Fully remove BOOST_FOREACH (diff) | |
| download | discoin-18dc3c396299caccb0df31254aaec0d08b70dd2a.tar.xz discoin-18dc3c396299caccb0df31254aaec0d08b70dd2a.zip | |
scripted-diff: Remove Q_FOREACH
-BEGIN VERIFY SCRIPT-
sed -i 's/Q_FOREACH *(\(.*\),/for (\1 :/' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp ;
-END VERIFY SCRIPT-
Diffstat (limited to 'src/qt/transactiontablemodel.cpp')
| -rw-r--r-- | src/qt/transactiontablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index f27abc210..7ec84f170 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -145,7 +145,7 @@ public: { parent->beginInsertRows(QModelIndex(), lowerIndex, lowerIndex+toInsert.size()-1); int insert_idx = lowerIndex; - Q_FOREACH(const TransactionRecord &rec, toInsert) + for (const TransactionRecord &rec : toInsert) { cachedWallet.insert(insert_idx, rec); insert_idx += 1; |