Commit 8a6b6c7c authored by Christian Stenger's avatar Christian Stenger

Squish: Avoid AUT crash in tst_qml_outline

Change-Id: I93e8c0050dba4f0acb7b02eeeb5a0dfdddf9d02d
Reviewed-by: default avatarRobert Loehning <>
parent 6ca680ac
......@@ -63,6 +63,8 @@ def buildTreeFromOutline():
global outline
model = waitForObject(outline).model()
waitFor("model.rowCount() > 0")
if platform.system() == 'Darwin':
snooze(1) # if model updates delayed processChildren() results in AUT crash
return processChildren(model, QModelIndex(), 0)
def processChildren(model, startIndex, level):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment