tst_QGraphicsScene: fix compiler warning about misleading indentation

Change-Id: I532b5eeb0d4f9632f517deef61a7528bcb4151c6
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Marc Mutz 2021-07-16 21:17:48 +02:00
parent 9cc0c64e08
commit 8ebd4a1da8

View File

@ -1218,10 +1218,10 @@ void tst_QGraphicsScene::addPath()
QVERIFY(scene.items(QPointF(10, 10)).isEmpty());
QVERIFY(scene.items(QPointF(-10, 20)).isEmpty());
QVERIFY(scene.items(QPointF(10, 20)).isEmpty());
if (sizeof(qreal) != sizeof(double))
QWARN("Skipping test because of rounding errors when qreal != double");
else
QVERIFY(scene.items(QPointF(-10, 30)).isEmpty());
if (sizeof(qreal) != sizeof(double))
QWARN("Skipping test because of rounding errors when qreal != double");
else
QVERIFY(scene.items(QPointF(-10, 30)).isEmpty());
QVERIFY(scene.items(QPointF(10.1, 30)).isEmpty());
}