diff --git a/toolboxes/desktoptoolbox/contents/ui/ToolBoxButton.qml b/toolboxes/desktoptoolbox/contents/ui/ToolBoxButton.qml --- a/toolboxes/desktoptoolbox/contents/ui/ToolBoxButton.qml +++ b/toolboxes/desktoptoolbox/contents/ui/ToolBoxButton.qml @@ -174,20 +174,13 @@ } } - PlasmaCore.SvgItem { + PlasmaCore.IconItem { id: toolBoxIcon - svg: PlasmaCore.Svg { - id: iconSvg - imagePath: "widgets/configuration-icons" - onRepaintNeeded: toolBoxIcon.elementId = iconSvg.hasElement("menu") ? "menu" : "configure" - } - elementId: iconSvg.hasElement("menu") ? "menu" : "configure" + source: "tools" anchors.verticalCenter: parent.verticalCenter width: iconSize height: iconSize opacity: buttonMouse.containsMouse || (toolBoxLoader.item && toolBoxLoader.item.visible) ? 1 : 0.5 - rotation: isHorizontal ? 0 : -90; - transformOrigin: Item.Center Behavior on opacity { NumberAnimation { duration: units.longDuration;