Fix build, pass a QRect instead of its 4 components
This commit is contained in:
parent
5eb84af469
commit
745981f4c5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue