summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-09-14 10:58:56 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-09-14 12:36:21 (GMT)
commit2d4566e81cf8263af2fec781e6e0d2e200064618 (patch)
treeff5c53da6902199fbc8e4c8ff0f9628603f1b38a
parent54cae9296a738f025fe01770c3f3c48fd4a094fc (diff)
downloadQt-2d4566e81cf8263af2fec781e6e0d2e200064618.zip
Qt-2d4566e81cf8263af2fec781e6e0d2e200064618.tar.gz
Qt-2d4566e81cf8263af2fec781e6e0d2e200064618.tar.bz2
Fix incorrect dialog positioning on Symbian
Task-number: QT-3900 Reviewed-by: Jason Barron Reviewed-by: Sami Merila
-rw-r--r--src/gui/kernel/qwidget_s60.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_s60.cpp b/src/gui/kernel/qwidget_s60.cpp
index c98c05a..4109ed8 100644
--- a/src/gui/kernel/qwidget_s60.cpp
+++ b/src/gui/kernel/qwidget_s60.cpp
@@ -518,7 +518,7 @@ void QWidgetPrivate::show_sys()
if (q->windowState() & Qt::WindowMaximized) {
TRect r = static_cast<CEikAppUi*>(S60->appUi())->ClientRect();
id->SetExtent(r.iTl, r.Size());
- } else if (!q->testAttribute(Qt::WA_Moved)) {
+ } else if (!q->testAttribute(Qt::WA_Moved) && q->windowType() != Qt::Dialog) {
id->SetPosition(static_cast<CEikAppUi*>(S60->appUi())->ClientRect().iTl);
}
}