Squish: Remove platform limitation of snooze() call

This AUT crash now happens frequently on Linux as well.

Change-Id: Iee44cc4f5ca45afc9e643a2745cabfbf3e6efcf4
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
Christian Stenger
2014-07-03 07:53:48 +02:00
parent b435f7bfe8
commit 776e6adda7
@@ -63,8 +63,7 @@ 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
snooze(1) # if model updates delayed processChildren() results in AUT crash
return processChildren(model, QModelIndex(), 0)
def processChildren(model, startIndex, level):