diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-11-12 16:40:36 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-11-12 16:40:36 (GMT) |
commit | c7ad2de8f653c82ed26275d9a1791ebf2bb38644 (patch) | |
tree | 8cb794acff34db69b93baf4963bf66e19eb877f9 /src/gui | |
parent | e61071a2a170eaeb524778e9e903100323b88bbe (diff) | |
parent | ad8e7b27427825bee730c55735cd2554407205e4 (diff) | |
download | Qt-c7ad2de8f653c82ed26275d9a1791ebf2bb38644.zip Qt-c7ad2de8f653c82ed26275d9a1791ebf2bb38644.tar.gz Qt-c7ad2de8f653c82ed26275d9a1791ebf2bb38644.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Add Location as self signable capability in patch_capabilities.pl
Localize .loc and .pkg content based on TRANSLATIONS
Bump Qt version to 4.7.2.
SSL: Fix for systemCaCertificates being called first on symbian
Send WinIdChange event when winId is set to zero
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index e22ec55..cbf4886 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -1673,13 +1673,8 @@ void QWidgetPrivate::setWinId(WId id) // set widget identifier } if(oldWinId != id) { - // Do not emit an event when the old winId is destroyed. This only - // happens (a) during widget destruction, and (b) immediately prior - // to creation of a new winId, for example as a result of re-parenting. - if(id != 0) { - QEvent e(QEvent::WinIdChange); - QCoreApplication::sendEvent(q, &e); - } + QEvent e(QEvent::WinIdChange); + QCoreApplication::sendEvent(q, &e); } } |