compare doubles to doubles

Summary:
Should resolve undefined reference to `bool QTest::qCompare<double, int>
error on 5.9

Test Plan:
Still compiles/passes
Not actually tested on 5.9

Reviewers: #kwin, #plasma

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D13526
icc-effect-5.14.5
David Edmundson 2018-06-14 09:14:47 +01:00
parent e6cdf966ff
commit 3e2ff0e870
1 changed files with 4 additions and 4 deletions

View File

@ -764,10 +764,10 @@ void SceneQPainterShadowTest::testShadowTextureReconstruction()
// Check whether we've got right shadow.
auto shadowIface = client->surface()->shadow();
QVERIFY(!shadowIface.isNull());
QCOMPARE(shadowIface->offset().left(), 128);
QCOMPARE(shadowIface->offset().top(), 128);
QCOMPARE(shadowIface->offset().right(), 128);
QCOMPARE(shadowIface->offset().bottom(), 128);
QCOMPARE(shadowIface->offset().left(), 128.0);
QCOMPARE(shadowIface->offset().top(), 128.0);
QCOMPARE(shadowIface->offset().right(), 128.0);
QCOMPARE(shadowIface->offset().bottom(), 128.0);
// Get SceneQPainterShadow's texture.
QVERIFY(client->effectWindow());