Fix warning, remove unused variable
Change-Id: I77167919a2382f38d10694ce14ccd209cc7c2377 Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io> Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
This commit is contained in:
parent
980a499ad0
commit
e4e186771e
@ -79,7 +79,6 @@ void ChipTester::populateScene()
|
|||||||
|
|
||||||
// Populate scene
|
// Populate scene
|
||||||
int xx = 0;
|
int xx = 0;
|
||||||
int nitems = 0;
|
|
||||||
for (int i = -1100; i < 1100; i += 110) {
|
for (int i = -1100; i < 1100; i += 110) {
|
||||||
++xx;
|
++xx;
|
||||||
int yy = 0;
|
int yy = 0;
|
||||||
@ -92,8 +91,6 @@ void ChipTester::populateScene()
|
|||||||
QGraphicsItem *item = new Chip(color, xx, yy);
|
QGraphicsItem *item = new Chip(color, xx, yy);
|
||||||
item->setPos(QPointF(i, j));
|
item->setPos(QPointF(i, j));
|
||||||
scene->addItem(item);
|
scene->addItem(item);
|
||||||
|
|
||||||
++nitems;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user