mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
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:
parent
f6a0c9ad5c
commit
7253ae103c
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user