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");