summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_s60.cpp
diff options
context:
space:
mode:
authorA-Team <ateam@pad.test.qt.nokia.com>2010-12-16 23:00:15 (GMT)
committerA-Team <ateam@pad.test.qt.nokia.com>2010-12-16 23:00:15 (GMT)
commitf021555182edb4163d1bca29ed16da6748029771 (patch)
tree4e08270009ae458e698f52b4de2172e5f97b511e /src/gui/kernel/qapplication_s60.cpp
parentda1b6e7199dfd63cce79af0bd875df78b4d199db (diff)
parent640aad736476f7f8a4ec92fedecae234fb2e2d2e (diff)
downloadQt-f021555182edb4163d1bca29ed16da6748029771.zip
Qt-f021555182edb4163d1bca29ed16da6748029771.tar.gz
Qt-f021555182edb4163d1bca29ed16da6748029771.tar.bz2
Merge branch '4.7-upstream' into 4.7-doc
Diffstat (limited to 'src/gui/kernel/qapplication_s60.cpp')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index 6db1fa8..181fcc7 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -1174,8 +1174,10 @@ void QSymbianControl::SizeChanged()
if (!slowResize && tlwExtra)
tlwExtra->inTopLevelResize = false;
} else {
- QResizeEvent *e = new QResizeEvent(newSize, oldSize);
- QApplication::postEvent(qwidget, e);
+ if (!qwidget->testAttribute(Qt::WA_PendingResizeEvent)) {
+ QResizeEvent *e = new QResizeEvent(newSize, oldSize);
+ QApplication::postEvent(qwidget, e);
+ }
}
}