From: Claudio Cambra Date: Thu, 14 Nov 2024 09:19:37 +0000 (+0800) Subject: Remove commented-out hover effect component X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~58^2^2~28^2~40 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2483d2cfc68b97fa587dd063b859c1e9d04547d1;p=nextcloud-desktop.git Remove commented-out hover effect component Signed-off-by: Claudio Cambra --- diff --git a/src/gui/tray/MainWindow.qml b/src/gui/tray/MainWindow.qml index 6ddd7e9e4..5aa9ce9fd 100644 --- a/src/gui/tray/MainWindow.qml +++ b/src/gui/tray/MainWindow.qml @@ -424,20 +424,6 @@ ApplicationWindow { radius: width * Style.trayFolderStatusIndicatorRadiusFactor } - // TODO: check if we want add any hover effect - // Rectangle { - // id: currentAccountStatusIndicatorMouseHover - // visible: UserModel.currentUser && UserModel.currentUser.isConnected - // && UserModel.currentUser.serverHasUserStatus - // width: Style.accountAvatarStateIndicatorSize + + Style.trayFolderStatusIndicatorSizeOffset - // height: width - // anchors.bottom: currentAccountAvatar.bottom - // anchors.right: currentAccountAvatar.right - // color: currentAccountButton.hovered ? palette.highlight : palette.window - // opacity: Style.trayFolderStatusIndicatorMouseHoverOpacityFactor - // radius: width * Style.trayFolderStatusIndicatorRadiusFactor - // } - Image { id: currentAccountStatusIndicator visible: UserModel.currentUser && UserModel.currentUser.isConnected