Verified Commit 941d6c5f authored by ivan tkachenko's avatar ivan tkachenko
Browse files

[applet/appmenu] Fix minor code style issues

(cherry picked from commit d7bad8c1)
parent dbc71697
......@@ -30,7 +30,7 @@ Item {
}
Plasmoid.constraintHints: PlasmaCore.Types.CanFillArea
Plasmoid.preferredRepresentation: (Plasmoid.configuration.compactView) ? Plasmoid.compactRepresentation : Plasmoid.fullRepresentation
Plasmoid.preferredRepresentation: Plasmoid.configuration.compactView ? Plasmoid.compactRepresentation : Plasmoid.fullRepresentation
Plasmoid.compactRepresentation: PlasmaComponents3.ToolButton {
readonly property int fakeIndex: 0
......@@ -38,7 +38,7 @@ Item {
Layout.fillHeight: false
Layout.minimumWidth: implicitWidth
Layout.maximumWidth: implicitWidth
enabled: menuAvailable
enabled: menuAvailable
checkable: menuAvailable && Plasmoid.nativeInterface.currentIndex === fakeIndex
checked: checkable
icon.name: "application-menu"
......
Supports Markdown
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