aboutsummaryrefslogtreecommitdiffstats
path: root/examples/winextras/quickplayer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/winextras/quickplayer/main.cpp')
-rw-r--r--examples/winextras/quickplayer/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/winextras/quickplayer/main.cpp b/examples/winextras/quickplayer/main.cpp
index 9f79b1d..efd9e4d 100644
--- a/examples/winextras/quickplayer/main.cpp
+++ b/examples/winextras/quickplayer/main.cpp
@@ -64,5 +64,7 @@ int main(int argc, char *argv[])
QObject* root = engine.rootObjects().value(0);
if (QWindow *window = qobject_cast<QWindow *>(root))
window->show();
+ else
+ return -1;
return app.exec();
}