From bbff47a8d0c7a2d88e26e378ec31413e25eecf3d Mon Sep 17 00:00:00 2001 From: Gareth Stockwell Date: Thu, 27 May 2010 12:03:22 +0100 Subject: Moved Symbian-specific .pro directive into symbian{} block Reviewed-by: Miikka Heikkinen --- demos/spectrum/spectrum.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demos/spectrum/spectrum.pro b/demos/spectrum/spectrum.pro index 8736ba7..a8f09de 100644 --- a/demos/spectrum/spectrum.pro +++ b/demos/spectrum/spectrum.pro @@ -1,4 +1,3 @@ -load(data_caging_paths) include(spectrum.pri) TEMPLATE = subdirs @@ -15,6 +14,8 @@ SUBDIRS += app TARGET = spectrum symbian { + load(data_caging_paths) + # Create a 'make sis' rule which can be run from the top-level include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri) -- cgit v0.12 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