summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-30 09:14:43 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-30 09:14:43 (GMT)
commit81542982a9b7f4d55707ec6abfd26f5046871f88 (patch)
tree56b023bea089c960cec64483cf6d62304aa274f4 /tools/qmlviewer
parent126ab609611d188322eeaeca38ecc9ae13e9574b (diff)
parentbd2ba54d85415047a581b7b441309572a756dcc5 (diff)
downloadQt-81542982a9b7f4d55707ec6abfd26f5046871f88.zip
Qt-81542982a9b7f4d55707ec6abfd26f5046871f88.tar.gz
Qt-81542982a9b7f4d55707ec6abfd26f5046871f88.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'tools/qmlviewer')
-rw-r--r--tools/qmlviewer/qmlviewer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmlviewer/qmlviewer.cpp b/tools/qmlviewer/qmlviewer.cpp
index 13f0009..a354653 100644
--- a/tools/qmlviewer/qmlviewer.cpp
+++ b/tools/qmlviewer/qmlviewer.cpp
@@ -341,6 +341,7 @@ QmlViewer::QmlViewer(QWidget *parent, Qt::WindowFlags flags)
QObject::connect(canvas, SIGNAL(sceneResized(QSize)), this, SLOT(sceneResized(QSize)));
QObject::connect(canvas, SIGNAL(initialSize(QSize)), this, SLOT(adjustSizeSlot()));
QObject::connect(canvas, SIGNAL(errors(QList<QmlError>)), this, SLOT(executeErrors()));
+ QObject::connect(canvas, SIGNAL(quit()), QCoreApplication::instance (), SLOT(quit()));
if (!(flags & Qt::FramelessWindowHint)) {
createMenu(menuBar(),0);