From 9dea8a0b902fbfb778d8ba231a5cdc283c314e17 Mon Sep 17 00:00:00 2001 From: Gareth Stockwell Date: Thu, 27 Aug 2009 14:27:15 +0100 Subject: Oops: fixed 'Made non-toplevel widgets window-owning' --- src/gui/kernel/qapplication_s60.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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->parent()); - if (topLevel or parent) + if (topLevel or !parent) CreateWindowL(S60->windowGroup()); else CreateWindowL(parent->winId()); -- cgit v0.12