Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 3e2ff0e8 authored by David Edmundson's avatar David Edmundson

compare doubles to doubles

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:
parent e6cdf966
......@@ -764,10 +764,10 @@ void SceneQPainterShadowTest::testShadowTextureReconstruction()
// Check whether we've got right shadow.
auto shadowIface = client->surface()->shadow();
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.
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