A potential fix for "Cannot read property 'state' of null"-failure on Jenkins with the VisualSnapDecisionsQueue QML-test of notifications.
commit62557ed50d5ecc486d540baf9e38e85c083137b1
authorMirco Müller <mirco.mueller@ubuntu.com>
dateTue 1 Apr 2014, 22:56 (13 years ago)
parentcb489c1a775bd9
tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml+1
@@ -193,6 +193,7 @@ Row {
193193 addSomeSnapDecisionNotifications();
194194
195195 // make sure the view is properly updated before going on
196+ notifications.forceLayout();
196197 waitForRendering(notifications);
197198
198199 var snap_decision = [findChild(notifications, "notification1"),