diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-05-27 08:22:49 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-05-27 14:19:17 (GMT) |
commit | 693e94d0071f8d6dff48e608a0b11cbb2497f32e (patch) | |
tree | 8808df12ef5341b29020354298307cba4eb567a1 | |
parent | bbff47a8d0c7a2d88e26e378ec31413e25eecf3d (diff) | |
download | Qt-693e94d0071f8d6dff48e608a0b11cbb2497f32e.zip Qt-693e94d0071f8d6dff48e608a0b11cbb2497f32e.tar.gz Qt-693e94d0071f8d6dff48e608a0b11cbb2497f32e.tar.bz2 |
Post QResizeEvent from QSymbianControl::SizeChanged even when invisible
Task-number: QTBUG-10986
Reviewed-by: Jason Barron
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index 6e6a806..b1e0f63 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); } } |