summaryrefslogtreecommitdiffstats
path: root/demos/embedded/qmltwitter/qmltwitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/embedded/qmltwitter/qmltwitter.cpp')
-rw-r--r--demos/embedded/qmltwitter/qmltwitter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/embedded/qmltwitter/qmltwitter.cpp b/demos/embedded/qmltwitter/qmltwitter.cpp
index c53098a4..30c4601 100644
--- a/demos/embedded/qmltwitter/qmltwitter.cpp
+++ b/demos/embedded/qmltwitter/qmltwitter.cpp
@@ -95,7 +95,8 @@ int main(int argc, char *argv[])
view.engine()->setNetworkAccessManagerFactory(&networkAccessManagerFactory);
view.setSource(QUrl(mainQmlApp));
view.setResizeMode(QDeclarativeView::SizeRootObjectToView);
-
+ QObject::connect(view.engine(), SIGNAL(quit()), &application, SLOT(quit()));
+
#if defined(Q_OS_SYMBIAN)
view.showFullScreen();
#else // Q_OS_SYMBIAN