diff --git a/launcher/ui/Main.qml b/launcher/ui/Main.qml index cda8368..44b5c92 100644 --- a/launcher/ui/Main.qml +++ b/launcher/ui/Main.qml @@ -123,27 +123,4 @@ Kirigami.ApplicationWindow { } Component.onCompleted: checkSetup() - - property Item hoverLinkIndicator: QQC2.Control { - parent: appWindow.overlay.parent - property alias text: linkText.text - opacity: text.length > 0 ? 1 : 0 - - Behavior on opacity { - OpacityAnimator { - duration: Kirigami.Units.longDuration - } - } - - z: 999990 - x: 0 - y: parent.height - implicitHeight - contentItem: QQC2.Label { - id: linkText - } - Kirigami.Theme.colorSet: Kirigami.Theme.View - background: Rectangle { - color: Kirigami.Theme.backgroundColor - } - } } diff --git a/launcher/ui/Pages/NewsPage.qml b/launcher/ui/Pages/NewsPage.qml index a65e2c4..dac5453 100644 --- a/launcher/ui/Pages/NewsPage.qml +++ b/launcher/ui/Pages/NewsPage.qml @@ -83,8 +83,6 @@ QQC2.Control { hoverEnabled: true onClicked: applicationWindow().openUrl(LauncherCore.headline.banners[page.currentBannerIndex].link) - onEntered: applicationWindow().hoverLinkIndicator.text = LauncherCore.headline.banners[page.currentBannerIndex].link - onExited: applicationWindow().hoverLinkIndicator.text = "" } layer.enabled: true @@ -126,13 +124,6 @@ QQC2.Control { description: Qt.formatDate(modelData.date) onClicked: applicationWindow().openUrl(modelData.url) - onHoveredChanged: { - if (hovered) { - applicationWindow().hoverLinkIndicator.text = modelData.url; - } else { - applicationWindow().hoverLinkIndicator.text = ""; - } - } } } @@ -167,13 +158,6 @@ QQC2.Control { hoverEnabled: true onClicked: applicationWindow().openUrl(modelData.url) - onHoveredChanged: { - if (hovered) { - applicationWindow().hoverLinkIndicator.text = modelData.url; - } else { - applicationWindow().hoverLinkIndicator.text = ""; - } - } } }