forked from qt-creator/qt-creator
Squish: Remove unreachable code
Change-Id: Idc9ced7cbac247cd9333e56be6f78bab70b542f9 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
@@ -78,8 +78,6 @@ def menuVisibleAtEditor(editor, menuInList):
|
||||
return True
|
||||
return False
|
||||
menu = waitForObject("{type='QMenu' unnamed='1' visible='1'}", 500)
|
||||
if platform.system() == 'Darwin':
|
||||
menu.activateWindow()
|
||||
success = menu.visible and widgetContainsPoint(editor, menu.mapToGlobal(QPoint(0, 0)))
|
||||
if success:
|
||||
menuInList[0] = menu
|
||||
|
Reference in New Issue
Block a user