From 2483d2cfc68b97fa587dd063b859c1e9d04547d1 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 14 Nov 2024 17:19:37 +0800 Subject: [PATCH] Remove commented-out hover effect component Signed-off-by: Claudio Cambra --- src/gui/tray/MainWindow.qml | 14 -------------- 1 file changed, 14 deletions(-) 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 -- 2.39.5