From 760edd7e5066fedfcfac329bf3bf2b718649bb16 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Tue, 3 Sep 2024 20:35:48 +0200 Subject: [PATCH] Remove background hover customization from UserLine. Signed-off-by: Camila Ayres --- src/gui/tray/UserLine.qml | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/src/gui/tray/UserLine.qml b/src/gui/tray/UserLine.qml index ead5ef7ac8..ea2d222b15 100644 --- a/src/gui/tray/UserLine.qml +++ b/src/gui/tray/UserLine.qml @@ -62,7 +62,6 @@ AbstractButton { height: width anchors.bottom: accountAvatar.bottom anchors.right: accountAvatar.right - color: userLine.hovered || userLine.visualFocus ? "#f6f6f6" : "white" radius: width*0.5 } @@ -149,7 +148,7 @@ AbstractButton { Image { anchors.fill: parent - source: "image://svgimage-custom-color/more.svg" + "/" + palette.buttonText + source: "image://svgimage-custom-color/more.svg/" fillMode: Image.PreserveAspectFit } @@ -175,16 +174,6 @@ AbstractButton { accountMenu.close() } - background: Item { - height: parent.height - width: parent.menu.width - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: parent.parent.hovered ? palette.highlight : palette.window - } - } - Accessible.role: Accessible.Button Accessible.name: model.isConnected ? qsTr("Log out") : qsTr("Log in") @@ -208,16 +197,6 @@ AbstractButton { accountMenu.close() } - background: Item { - height: parent.height - width: parent.menu.width - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: parent.parent.hovered ? palette.highlight : palette.window - } - } - Accessible.role: Accessible.Button Accessible.name: text Accessible.onPressAction: removeAccountButton.clicked()