summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-01 20:41:18 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-01 20:41:18 (GMT)
commit84b75101901d5765502a71f22a387e7ffd9d771a (patch)
tree0c4c929a23d78f4357a21530d9616b5145a96d8e
parentba2f428befca1485746df2945b4dbde225beabf3 (diff)
Use variable
-rw-r--r--src/cellitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cellitem.cpp b/src/cellitem.cpp
index 9154e39..2575b2c 100644
--- a/src/cellitem.cpp
+++ b/src/cellitem.cpp
@@ -61,7 +61,7 @@ QList<CellItem *> CellItem::placeItem(const QList<CellItem *> &cells, CellItem *
// Find all items which are in same cell
QList<CellItem *>::ConstIterator it;
QList<CellItem *>::ConstIterator end(cells.constEnd());
- for (it = cells.constBegin(); it != cells.end(); ++it) {
+ for (it = cells.constBegin(); it != end; ++it) {
CellItem *item = *it;
if (item == placeItem) {
continue;