don't reparent before the applet is expanded or not
This commit is contained in:
parent
4f3228ab44
commit
92073445ce
@ -183,7 +183,8 @@ void AppletInterface::init()
|
||||
}
|
||||
|
||||
//set parent, both as object hyerarchy and visually
|
||||
if (m_qmlObject->rootObject()) {
|
||||
//do this only for containments, applets will do it in compactrepresentationcheck
|
||||
if (pc && m_qmlObject->rootObject()) {
|
||||
m_qmlObject->rootObject()->setProperty("parent", QVariant::fromValue(this));
|
||||
|
||||
//set anchors
|
||||
|
Loading…
Reference in New Issue
Block a user