diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-12-15 11:41:11 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-12-15 11:41:11 (GMT) |
commit | c37f058e5d1a548cf322e90e87ff5be20050ab11 (patch) | |
tree | 6665c248004cf15af57b99419f62136f28b1df56 /src | |
parent | af5984ef163894b6eb43894aa4075e947642bb6d (diff) | |
parent | 915a31420c4f8d04c82103e3dd4d33b468a9334d (diff) | |
download | Qt-c37f058e5d1a548cf322e90e87ff5be20050ab11.zip Qt-c37f058e5d1a548cf322e90e87ff5be20050ab11.tar.gz Qt-c37f058e5d1a548cf322e90e87ff5be20050ab11.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:
Resize event for QDesktopWidget was sent too early
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index 81fa4e6..6db1fa8 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -667,9 +667,6 @@ void QSymbianControl::HandleStatusPaneSizeChange() { QS60MainAppUi *s60AppUi = static_cast<QS60MainAppUi *>(S60->appUi()); s60AppUi->HandleStatusPaneSizeChange(); - // Send resize event to trigger desktopwidget workAreaResized signal - QResizeEvent e(qt_desktopWidget->size(), qt_desktopWidget->size()); - QApplication::sendEvent(qt_desktopWidget, &e); } #endif @@ -1310,6 +1307,9 @@ void QSymbianControl::HandleResourceChange(int resourceType) case KEikDynamicLayoutVariantSwitch: { handleClientAreaChange(); + // Send resize event to trigger desktopwidget workAreaResized signal + QResizeEvent e(qt_desktopWidget->size(), qt_desktopWidget->size()); + QApplication::sendEvent(qt_desktopWidget, &e); break; } #endif |