From 8922387217f8da045020444adb69e3d871c31de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Thu, 2 Nov 2023 14:11:49 -0400 Subject: [PATCH] ParticipantOverlayButton: avoid bugguy and custom tooltip Change-Id: Ic92e0931227b8b0f0c9b297036367def7133eb06 GitLab: #1403 --- .../components/ParticipantOverlayButton.qml | 37 ------------------- 1 file changed, 37 deletions(-) diff --git a/src/app/mainview/components/ParticipantOverlayButton.qml b/src/app/mainview/components/ParticipantOverlayButton.qml index 08c2d073c..9386555c1 100644 --- a/src/app/mainview/components/ParticipantOverlayButton.qml +++ b/src/app/mainview/components/ParticipantOverlayButton.qml @@ -1,6 +1,5 @@ /* * Copyright (C) 2020-2023 Savoir-faire Linux Inc. - * Author: Albert Babà <albert.babi@savoirfairelinux.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,45 +21,9 @@ import "../../commoncomponents" PushButton { id: root - property alias toolTipText: toolTip.text - normalColor: JamiTheme.buttonConference hoveredColor: JamiTheme.buttonConferenceHovered pressedColor: JamiTheme.buttonConferencePressed imageColor: JamiTheme.whiteColor - hoverEnabled: false - - Rectangle { - id: toolTipRect - height: 16 - width: toolTip.width + 8 - anchors { - horizontalCenter: parent.horizontalCenter - top: parent.bottom - topMargin: isBarLayout ? 6 : 2 - } - color: isBarLayout ? JamiTheme.darkGreyColorOpacity : "transparent" - visible: hover.hovered && !isSmall - radius: 2 - - Text { - id: toolTip - anchors.centerIn: parent - horizontalAlignment: Text.AlignHCenter - color: JamiTheme.whiteColor - font.pointSize: JamiTheme.tinyFontSize - } - } - - Item { - anchors.fill: parent - - HoverHandler { - id: hover - onHoveredChanged: { - root.forceHovered = hover.hovered; - } - } - } } -- GitLab