Fix build, pass a QRect instead of its 4 components

icc-effect-master
Aleix Pol 2020-03-26 16:50:52 +01:00
parent 5eb84af469
commit 745981f4c5
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void DontCrashEmptyDecorationTest::testBug361551()
QVERIFY(client->isDecorated());
// 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));
// and destroy the window again