diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-27 13:27:15 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-28 12:30:37 (GMT) |
commit | 9dea8a0b902fbfb778d8ba231a5cdc283c314e17 (patch) | |
tree | 2cbb864cd5916522e26f613a8dfd053771487cba /src | |
parent | 76a7f0744cdfeb3ec25c77d4f237e60c74b7b141 (diff) | |
download | Qt-9dea8a0b902fbfb778d8ba231a5cdc283c314e17.zip Qt-9dea8a0b902fbfb778d8ba231a5cdc283c314e17.tar.gz Qt-9dea8a0b902fbfb778d8ba231a5cdc283c314e17.tar.bz2 |
Oops: fixed 'Made non-toplevel widgets window-owning'
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index 3a7fc4b..854fa07 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -320,7 +320,7 @@ void QSymbianControl::ConstructL(bool topLevel, bool desktop) // We cannot assume that parentless widgets are top-level QWidget *const parent = qobject_cast<QWidget *>(qwidget->parent()); - if (topLevel or parent) + if (topLevel or !parent) CreateWindowL(S60->windowGroup()); else CreateWindowL(parent->winId()); |