Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0885170d authored by Anthony Fieroni's avatar Anthony Fieroni

[systemtray] Workaround component creation

CCBUG: 390890

Differential Revision: https://phabricator.kde.org/D16890Signed-off-by: Anthony Fieroni's avatarAnthony Fieroni <bvbfan@abv.bg>
parent 3fa868a7
......@@ -50,7 +50,8 @@ MouseArea {
property alias statusNotifierModel: statusNotifierModel
property Component plasmoidItemComponent
// workaround https://bugreports.qt.io/browse/QTBUG-71238 / https://bugreports.qt.io/browse/QTBUG-72004
property Component plasmoidItemComponent: Qt.createComponent("items/PlasmoidItem.qml")
Plasmoid.onExpandedChanged: {
if (!plasmoid.expanded) {
......@@ -102,9 +103,6 @@ MouseArea {
}
Containment.onAppletAdded: {
if (!plasmoidItemComponent) {
plasmoidItemComponent = Qt.createComponent("items/PlasmoidItem.qml");
}
//Allow the plasmoid expander to know in what window it will be
var plasmoidContainer = plasmoidItemComponent.createObject(invisibleEntriesContainer, {"x": x, "y": y, "applet": applet});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment