QmlDesigner: Fix the exit for qml puppet

Change-Id: I228e91711f6976e0e6d7b298d73f61cd8c25be23
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2013-07-16 15:56:47 +02:00
parent aa08da4143
commit 8f22b84016
2 changed files with 8 additions and 5 deletions

View File

@@ -109,5 +109,8 @@ int main(int argc, char *argv[])
SetErrorMode(SEM_NOGPFAULTERRORBOX); //We do not want to see any message boxes
#endif
return application.exec();
if (application.arguments().at(1) == "--readcapturedstream")
return 0;
return application.exec();;
}