summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-11-12 16:40:36 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-11-12 16:40:36 (GMT)
commitc7ad2de8f653c82ed26275d9a1791ebf2bb38644 (patch)
tree8cb794acff34db69b93baf4963bf66e19eb877f9 /src/gui/kernel/qwidget.cpp
parente61071a2a170eaeb524778e9e903100323b88bbe (diff)
parentad8e7b27427825bee730c55735cd2554407205e4 (diff)
downloadQt-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/kernel/qwidget.cpp')
-rw-r--r--src/gui/kernel/qwidget.cpp9
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);
}
}