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
|
||||
int xx = 0;
|
||||
int nitems = 0;
|
||||
for (int i = -1100; i < 1100; i += 110) {
|
||||
++xx;
|
||||
int yy = 0;
|
||||
@ -92,8 +91,6 @@ void ChipTester::populateScene()
|
||||
QGraphicsItem *item = new Chip(color, xx, yy);
|
||||
item->setPos(QPointF(i, j));
|
||||
scene->addItem(item);
|
||||
|
||||
++nitems;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user