forked from qt-creator/qt-creator
Squish: Remove Qt4 compatibility code
Thank you Qt4 for all the good times we had together. Farewell. Change-Id: If0e81b71a97524bb0c84ea5bbcba4c29244a0a5e Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -203,7 +203,7 @@ def invokeMenuItem(menu, item, *subItems):
|
||||
except:
|
||||
nativeMouseClick(waitForObject(":Qt Creator_Core::Internal::MainWindow", 1000), 20, 20, 0, Qt.LeftButton)
|
||||
# HACK to avoid squish crash using Qt5.2 on Squish 5.0.1 - remove asap
|
||||
if platform.system() == "Darwin" and not isQt4Build:
|
||||
if platform.system() == "Darwin":
|
||||
if menu == "Tools" and item == "Options...":
|
||||
nativeType("<Command+,>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user