From: Camila Ayres Date: Tue, 3 Sep 2024 17:54:34 +0000 (+0200) Subject: Remove customizations for hover background from the user menu options. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~6^2~34^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=04d13b247cdd0ae2a98800d7d6ed20b16ce3c919;p=nextcloud-desktop.git Remove customizations for hover background from the user menu options. Signed-off-by: Camila Ayres --- diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index 7dfe5f9d1..55bd53f6c 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -319,16 +319,6 @@ ApplicationWindow { hoverEnabled: true visible: Systray.enableAddAccount - background: Item { - height: parent.height - width: parent.menu.width - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: parent.parent.hovered || parent.parent.visualFocus ? palette.highlight : palette.window - } - } - RowLayout { anchors.fill: parent spacing: 0 @@ -370,17 +360,6 @@ ApplicationWindow { font.pixelSize: Style.topLinePixelSize hoverEnabled: true onClicked: Systray.syncIsPaused = !Systray.syncIsPaused - - background: Item { - height: parent.height - width: parent.menu.width - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: parent.parent.hovered || parent.parent.visualFocus ? palette.highlight : palette.window - } - } - Accessible.role: Accessible.MenuItem Accessible.name: Systray.syncIsPaused ? qsTr("Resume sync for all") : qsTr("Pause sync for all") Accessible.onPressAction: syncPauseButton.clicked() @@ -392,17 +371,6 @@ ApplicationWindow { font.pixelSize: Style.topLinePixelSize hoverEnabled: true onClicked: Systray.openSettings() - - background: Item { - height: parent.height - width: parent.menu.width - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: parent.parent.hovered || parent.parent.visualFocus ? palette.highlight : palette.window - } - } - Accessible.role: Accessible.MenuItem Accessible.name: text Accessible.onPressAction: settingsButton.clicked() @@ -414,17 +382,6 @@ ApplicationWindow { font.pixelSize: Style.topLinePixelSize hoverEnabled: true onClicked: Systray.shutdown() - - background: Item { - height: parent.height - width: parent.menu.width - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: parent.parent.hovered || parent.parent.visualFocus ? palette.highlight : palette.window - } - } - Accessible.role: Accessible.MenuItem Accessible.name: text Accessible.onPressAction: exitButton.clicked() @@ -668,15 +625,15 @@ ApplicationWindow { onTriggered: UserAppsModel.openAppUrl(appUrl) hoverEnabled: true - background: Item { - height: parent.height - width: parent.width - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: parent.parent.hovered || parent.parent.visualFocus ? palette.highlight : palette.window - } - } + // background: Item { + // height: parent.height + // width: parent.width + // Rectangle { + // anchors.fill: parent + // anchors.margins: 1 + // color: parent.parent.hovered || parent.parent.visualFocus ? palette.highlight : palette.window + // } + // } Accessible.role: Accessible.MenuItem Accessible.name: qsTr("Open %1 in browser").arg(model.appName)