summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-08-31 04:02:08 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-08-31 04:02:08 (GMT)
commita0b413c14b94c1ac3f394f22076fd12c370d07f3 (patch)
tree6db2374a2d956c5922c3de0e9ad5bdc5d04b30d4 /src/declarative/qml
parenta4d3ffe03359e415f4a4a5740eb19bbb9dfddc0b (diff)
parent33b1332d1b8593f488cf5f926315a6df68eee7df (diff)
downloadQt-a0b413c14b94c1ac3f394f22076fd12c370d07f3.zip
Qt-a0b413c14b94c1ac3f394f22076fd12c370d07f3.tar.gz
Qt-a0b413c14b94c1ac3f394f22076fd12c370d07f3.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativeengine.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp
index 6a2808c..8461368 100644
--- a/src/declarative/qml/qdeclarativeengine.cpp
+++ b/src/declarative/qml/qdeclarativeengine.cpp
@@ -1716,6 +1716,9 @@ void QDeclarativeEnginePrivate::sendQuit()
{
Q_Q(QDeclarativeEngine);
emit q->quit();
+ if (q->receivers(SIGNAL(quit())) == 0) {
+ qWarning("Signal QDeclarativeEngine::quit() emitted, but no receivers connected to handle it.");
+ }
}
static void dumpwarning(const QDeclarativeError &error)