From 693e94d0071f8d6dff48e608a0b11cbb2497f32e Mon Sep 17 00:00:00 2001 From: Gareth Stockwell Date: Thu, 27 May 2010 09:22:49 +0100 Subject: Post QResizeEvent from QSymbianControl::SizeChanged even when invisible Task-number: QTBUG-10986 Reviewed-by: Jason Barron --- src/gui/kernel/qapplication_s60.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); } } -- cgit v0.12