From 7347c671a331ffd85b8d9bf5ce3479442e46439c Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 11 Oct 2019 12:06:12 +0200 Subject: [PATCH] visible button --- .../package/contents/ui/TaskSwitcher.qml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/containments/taskpanel/package/contents/ui/TaskSwitcher.qml b/containments/taskpanel/package/contents/ui/TaskSwitcher.qml index 6d2848d6..c93122d1 100644 --- a/containments/taskpanel/package/contents/ui/TaskSwitcher.qml +++ b/containments/taskpanel/package/contents/ui/TaskSwitcher.qml @@ -22,7 +22,7 @@ import QtQuick.Layouts 1.1 import QtQuick.Window 2.2 import org.kde.taskmanager 0.1 as TaskManager import org.kde.plasma.core 2.1 as PlasmaCore -import org.kde.plasma.components 2.0 as PlasmaComponents +import org.kde.plasma.components 3.0 as PlasmaComponents import org.kde.plasma.private.nanoshell 2.0 as NanoShell NanoShell.FullScreenOverlay { @@ -184,23 +184,15 @@ NanoShell.FullScreenOverlay { } } - Rectangle { - color: theme.textColor - anchors { - fill: showDesktopButton - margins: -showDesktopButton.width/4 - } - radius: width - } - Button { + PlasmaComponents.RoundButton { id: showDesktopButton - height: units.iconSizes.medium + height: units.iconSizes.large width: height anchors { horizontalCenter: parent.horizontalCenter bottom: parent.bottom } - iconSource: "start-here-kde" + icon.name: "start-here-kde" onClicked: { currentTaskIndex = -1; window.hide();