From 0ca6837b34bd66aa624785591366eb7892dcd9e1 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Thu, 29 Aug 2024 20:30:16 +0200 Subject: [PATCH] Remove customizations from CustomButton. Signed-off-by: Camila Ayres --- src/gui/tray/CustomButton.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/tray/CustomButton.qml b/src/gui/tray/CustomButton.qml index 81c59e348..dfe12b5cf 100644 --- a/src/gui/tray/CustomButton.qml +++ b/src/gui/tray/CustomButton.qml @@ -36,8 +36,7 @@ Button { visible: root.toolTipText !== "" && root.hovered } - // TODO: the current style does not support customization of this control - contentItem: NCButtonContents { + NCButtonContents { id: contents display: root.display hovered: root.hovered @@ -45,6 +44,5 @@ Button { imageSource: root.icon.source imageSourceWidth: root.icon.width imageSourceHeight: root.icon.height - text: root.text } } -- 2.30.2