summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-09-14 11:58:56 +0100
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-09-14 13:36:21 +0100
commit2d4566e81cf8263af2fec781e6e0d2e200064618 (patch)
treeff5c53da6902199fbc8e4c8ff0f9628603f1b38a /src
parent54cae9296a738f025fe01770c3f3c48fd4a094fc (diff)
downloadqt4-tools-2d4566e81cf8263af2fec781e6e0d2e200064618.tar.gz
Fix incorrect dialog positioning on Symbian
Task-number: QT-3900 Reviewed-by: Jason Barron Reviewed-by: Sami Merila
Diffstat (limited to 'src')
-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 c98c05aa43..4109ed80a4 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);
}
}