Fix warning: The current style does not support customization of this control (proper...
authorCamila Ayres <hello@camilasan.com>
Wed, 28 Aug 2024 19:54:50 +0000 (21:54 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Fri, 6 Sep 2024 08:42:08 +0000 (10:42 +0200)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/gui/tray/HeaderButton.qml

index d0bae5032569a0a3fd98c45e1229e080b7e5649e..6bdcb28768efa674ff6683b9371f1d71f55e6659 100644 (file)
@@ -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
-            }
-        }
-    }
 }