Avoid redefining the lastWindowClosed() signal.
authorRobin Burchell <robin.burchell@collabora.com>
Thu, 5 Jan 2012 06:34:55 +0000 (07:34 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 5 Jan 2012 10:40:08 +0000 (11:40 +0100)
This prevents things like the following (from qmlviewer):
QMetaObject::indexOfSignal: signal lastWindowClosed() from QGuiApplication redefined in QApplication

Change-Id: I4b30235e379aedaa913ea30f05daac7079f285e9
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/widgets/kernel/qapplication.h

index 32706f8..ee55f7c 100644 (file)
@@ -242,7 +242,6 @@ public:
 #endif
 
 Q_SIGNALS:
-    void lastWindowClosed();
     void focusChanged(QWidget *old, QWidget *now);
 #ifndef QT_NO_SESSIONMANAGER
     void commitDataRequest(QSessionManager &sessionManager);