@@ -123,10 +123,17 @@ Item {
123 clear_scope_status();
123 clear_scope_status();
124 dashContent.visible = true;
124 dashContent.visible = true;
126− scopesModel.clear();
127− // wait for dash to empty scopes.
128 var dashContentList = findChild(dashContent, "dashContentList");
126 var dashContentList = findChild(dashContent, "dashContentList");
129 verify(dashContentList != undefined);
127 verify(dashContentList != undefined);
128+ // TODO For Qt 5.2 remove this wait
129+ // and the tryCompare and see if it still crashes when
132+ if (dashContentList.currentItem !== null) {
133+ tryCompare(dashContentList.currentItem, "moving", false);
135+ scopesModel.clear();
136+ // wait for dash to empty scopes.
130 tryCompare(dashContentList, "count", 0);
137 tryCompare(dashContentList, "count", 0);