@@ -48,7 +48,7 @@ TestCase {
4848 x = item.width / 2;
4949 if (y == undefined)
5050 y = item.height / 2;
51− if (qtest_events.mouseClick(item, x, y, button, modifiers, delay))
51+ if (!qtest_events.mouseClick(item, x, y, button, modifiers, delay))
5252 qtest_fail("window not shown", 2);
5353 }
5454