summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlview.cpp
diff options
context:
space:
mode:
authorTapani Mikola <tapani.mikola@nokia.com>2009-11-26 07:30:55 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-11-30 06:34:29 (GMT)
commitbd2ba54d85415047a581b7b441309572a756dcc5 (patch)
tree28442cc914bd9ac77b42382094fc8a36341a6b89 /src/declarative/util/qmlview.cpp
parentc8cb256644c143f9d85eed0a8d295ffd05a2017d (diff)
downloadQt-bd2ba54d85415047a581b7b441309572a756dcc5.zip
Qt-bd2ba54d85415047a581b7b441309572a756dcc5.tar.gz
Qt-bd2ba54d85415047a581b7b441309572a756dcc5.tar.bz2
Qt.quit() added to qml.
Diffstat (limited to 'src/declarative/util/qmlview.cpp')
-rw-r--r--src/declarative/util/qmlview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qmlview.cpp b/src/declarative/util/qmlview.cpp
index 62bcc07..afeead2 100644
--- a/src/declarative/util/qmlview.cpp
+++ b/src/declarative/util/qmlview.cpp
@@ -291,6 +291,7 @@ void QmlView::execute()
} else {
d->component = new QmlComponent(&d->engine, d->qml.toUtf8(), d->source, this);
}
+ connect (&d->engine, SIGNAL (quit ()), this, SIGNAL (quit ()));
if (!d->component->isLoading()) {
continueExecute();