diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-09-14 11:58:56 +0100 |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-09-14 13:36:21 +0100 |
commit | 2d4566e81cf8263af2fec781e6e0d2e200064618 (patch) | |
tree | ff5c53da6902199fbc8e4c8ff0f9628603f1b38a /src | |
parent | 54cae9296a738f025fe01770c3f3c48fd4a094fc (diff) | |
download | qt4-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.cpp | 2 |
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); } } |