Commit 84b75101 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use variable

parent ba2f428b
...@@ -61,7 +61,7 @@ QList<CellItem *> CellItem::placeItem(const QList<CellItem *> &cells, CellItem * ...@@ -61,7 +61,7 @@ QList<CellItem *> CellItem::placeItem(const QList<CellItem *> &cells, CellItem *
// Find all items which are in same cell // Find all items which are in same cell
QList<CellItem *>::ConstIterator it; QList<CellItem *>::ConstIterator it;
QList<CellItem *>::ConstIterator end(cells.constEnd()); QList<CellItem *>::ConstIterator end(cells.constEnd());
for (it = cells.constBegin(); it != cells.end(); ++it) { for (it = cells.constBegin(); it != end; ++it) {
CellItem *item = *it; CellItem *item = *it;
if (item == placeItem) { if (item == placeItem) {
continue; continue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment