summaryrefslogtreecommitdiffstats
path: root/demos/embedded/qmltwitter/qmltwitter.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-09-02 01:00:14 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-09-02 01:00:14 (GMT)
commit63eab5ef720936dbb5ee76686c6558e18a79e587 (patch)
tree920a29827e6fb83431e90c160616ca73924b455a /demos/embedded/qmltwitter/qmltwitter.cpp
parent661e237be622a5f7886cee7c06f9daa73d4a07d7 (diff)
parente3a76875d1eea19c29fd6c8dec4e0db9252c2d29 (diff)
downloadQt-63eab5ef720936dbb5ee76686c6558e18a79e587.zip
Qt-63eab5ef720936dbb5ee76686c6558e18a79e587.tar.gz
Qt-63eab5ef720936dbb5ee76686c6558e18a79e587.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
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