From 4177681d469ddeeda00b89c4c32abbe1ba606549 Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Wed, 13 Mar 2024 01:02:08 +0100 Subject: [PATCH] PlasmoidItem fix --- package/contents/ui/main.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml index 558b169..5eb3c34 100644 --- a/package/contents/ui/main.qml +++ b/package/contents/ui/main.qml @@ -40,10 +40,10 @@ PlasmoidItem { || plasmoid.location === PlasmaCore.Types.LeftEdge) readonly property bool vertical: (plasmoid.formFactor === PlasmaCore.Types.Vertical) - Plasmoid.switchWidth: Kirigami.Units.gridUnit * 20 - Plasmoid.switchHeight: Kirigami.Units.gridUnit * 30 - + switchWidth: Kirigami.Units.gridUnit * 20 + switchHeight: Kirigami.Units.gridUnit * 30 + fullRepresentation: FullRepresentation {} Plasmoid.icon: plasmoid.configuration.icon @@ -139,8 +139,8 @@ PlasmoidItem { } Component.onCompleted: { - if (plasmoid.hasOwnProperty("activationTogglesExpanded")) { - plasmoid.activationTogglesExpanded = true + if (hasOwnProperty("activationTogglesExpanded")) { + activationTogglesExpanded = true } if (plasmoid.immutability !== PlasmaCore.Types.SystemImmutable) { plasmoid.setAction("menuedit", i18n("Edit Applications..."), "kmenuedit");