summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-27 09:22:49 +0100
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-27 15:19:17 +0100
commit693e94d0071f8d6dff48e608a0b11cbb2497f32e (patch)
tree8808df12ef5341b29020354298307cba4eb567a1
parentbbff47a8d0c7a2d88e26e378ec31413e25eecf3d (diff)
Post QResizeEvent from QSymbianControl::SizeChanged even when invisible
Task-number: QTBUG-10986 Reviewed-by: Jason Barron
-rw-r--r--src/gui/kernel/qapplication_s60.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index 6e6a806389..b1e0f63d0f 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -934,6 +934,9 @@ void QSymbianControl::SizeChanged()
qwidget->d_func()->syncBackingStore();
if (!slowResize && tlwExtra)
tlwExtra->inTopLevelResize = false;
+ } else {
+ QResizeEvent *e = new QResizeEvent(newSize, oldSize);
+ QApplication::postEvent(qwidget, e);
}
}