diff --git a/src/gui/tray/CustomButton.qml b/src/gui/tray/CustomButton.qml index dfe12b5cf..2ed8dc40f 100644 --- a/src/gui/tray/CustomButton.qml +++ b/src/gui/tray/CustomButton.qml @@ -40,7 +40,6 @@ Button { id: contents display: root.display hovered: root.hovered - imageSourceHover: root.imageSourceHover imageSource: root.icon.source imageSourceWidth: root.icon.width imageSourceHeight: root.icon.height diff --git a/src/gui/tray/NCButtonContents.qml b/src/gui/tray/NCButtonContents.qml index dee155083..e0053d850 100644 --- a/src/gui/tray/NCButtonContents.qml +++ b/src/gui/tray/NCButtonContents.qml @@ -22,7 +22,6 @@ RowLayout { id: root property bool hovered: false - property string imageSourceHover: "" property string imageSource: "" property int imageSourceWidth: undefined property int imageSourceHeight: undefined @@ -38,7 +37,7 @@ RowLayout { Layout.maximumHeight: root.height Layout.alignment: Qt.AlignCenter - source: root.hovered ? root.imageSourceHover : root.imageSource + source: root.imageSource sourceSize { width: root.imageSourceWidth