From 7253ae103c1a75cb067f36455c8bb4717cb6e030 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Wed, 28 Aug 2024 21:54:50 +0200 Subject: [PATCH] Fix warning: The current style does not support customization of this control (property: "contentItem"). Signed-off-by: Camila Ayres --- src/gui/tray/HeaderButton.qml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/gui/tray/HeaderButton.qml b/src/gui/tray/HeaderButton.qml index d0bae50325..6bdcb28768 100644 --- a/src/gui/tray/HeaderButton.qml +++ b/src/gui/tray/HeaderButton.qml @@ -36,20 +36,4 @@ Button { Layout.alignment: Qt.AlignRight Layout.preferredWidth: Style.trayWindowHeaderHeight Layout.preferredHeight: Style.trayWindowHeaderHeight - - contentItem: Item { - anchors.fill: parent - - Image { - id: internalImage - anchors.centerIn: parent - width: root.icon.width - height: root.icon.height - source: root.icon.source - sourceSize { - width: root.icon.width - height: root.icon.height - } - } - } }