reparent the compact representation
leak--
This commit is contained in:
parent
fd00bbdafa
commit
2c6d44eb23
@ -160,7 +160,7 @@ void DeclarativeAppletScript::qmlCreationFinished()
|
|||||||
lay->setContentsMargins(0, 0, 0, 0);
|
lay->setContentsMargins(0, 0, 0, 0);
|
||||||
DeclarativeItemContainer *declarativeItemContainer = new DeclarativeItemContainer(a);
|
DeclarativeItemContainer *declarativeItemContainer = new DeclarativeItemContainer(a);
|
||||||
lay->addItem(declarativeItemContainer);
|
lay->addItem(declarativeItemContainer);
|
||||||
declarativeItemContainer->setDeclarativeItem(declarativeIcon);
|
declarativeItemContainer->setDeclarativeItem(declarativeIcon, true);
|
||||||
} else {
|
} else {
|
||||||
pa->setPopupIcon(a->icon());
|
pa->setPopupIcon(a->icon());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user