diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-12 01:46:50 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-12 01:46:50 (GMT) |
commit | 57198878ba5300aac4cd9e1481c9b8d2e372a267 (patch) | |
tree | 74170f6d917f73687250558f8644eb335f4e370a /tools/qmlviewer | |
parent | 20753bfe4e24fa9883868f351851e7377d9b9f6d (diff) | |
download | Qt-57198878ba5300aac4cd9e1481c9b8d2e372a267.zip Qt-57198878ba5300aac4cd9e1481c9b8d2e372a267.tar.gz Qt-57198878ba5300aac4cd9e1481c9b8d2e372a267.tar.bz2 |
Always exit on play script failure
Diffstat (limited to 'tools/qmlviewer')
-rw-r--r-- | tools/qmlviewer/qfxtester.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlviewer/qfxtester.cpp b/tools/qmlviewer/qfxtester.cpp index 5484771..bd96545 100644 --- a/tools/qmlviewer/qfxtester.cpp +++ b/tools/qmlviewer/qfxtester.cpp @@ -170,7 +170,7 @@ void QmlGraphicsTester::run() testscript = qobject_cast<QmlGraphicsVisualTest *>(c.create()); if (testscript) testscript->setParent(this); - else executefailure(); + else { executefailure(); exit(-1); } testscriptidx = 0; } |