Fix build, pass a QRect instead of its 4 components

This commit is contained in:
Aleix Pol 2020-03-26 16:50:52 +01:00
parent 5eb84af469
commit 745981f4c5

View file

@ -102,7 +102,7 @@ void DontCrashEmptyDecorationTest::testBug361551()
QVERIFY(client->isDecorated()); QVERIFY(client->isDecorated());
// let's set a stupid geometry // let's set a stupid geometry
client->setFrameGeometry(0, 0, 0, 0); client->setFrameGeometry({0, 0, 0, 0});
QCOMPARE(client->frameGeometry(), QRect(0, 0, 0, 0)); QCOMPARE(client->frameGeometry(), QRect(0, 0, 0, 0));
// and destroy the window again // and destroy the window again