Commit e53b4a9c authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Removed some Mac workarounds



Change-Id: I85a4fee5acbb36096283daec982a8d31e42573b4
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 8e1815dc
......@@ -34,8 +34,7 @@ if platform.system() == "Darwin":
if str(args[0]).startswith('qtcreator'):
args[0] = args[0].replace('qtcreator', '"Qt Creator"', 1)
__origStartApplication__(*args)
test.log("Using workaround for MacOS (losing focus & different AUT name)")
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Maximize)
test.log("Using workaround for MacOS (different AUT name)")
def waitForCleanShutdown(timeOut=10):
appCtxt = currentApplicationContext()
......
......@@ -221,8 +221,6 @@ def selectFromFileDialog(fileName):
snooze(2)
nativeType("<Return>")
snooze(1)
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Minimize)
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Maximize)
else:
fName = os.path.basename(os.path.abspath(fileName))
pName = os.path.dirname(os.path.abspath(fileName)) + os.sep
......
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