Fix warning: The current style does not support customization of this control (property: "contentItem").

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-08-28 21:54:50 +02:00 committed by Matthieu Gallien
parent f6a0c9ad5c
commit 7253ae103c
No known key found for this signature in database
GPG Key ID: 7D0F74F05C22F553

View 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
}
}
}
}