diff --git a/src/qml/Page/RoomWindow.qml b/src/qml/Page/RoomWindow.qml index d932dfaae..ca7c99561 100644 --- a/src/qml/Page/RoomWindow.qml +++ b/src/qml/Page/RoomWindow.qml @@ -25,5 +25,22 @@ Kirigami.ApplicationWindow { onCurrentRoomChanged: if (!currentRoom) { window.close() + + property Item hoverLinkIndicator: QQC2.Control { + parent: overlay.parent + property string text + opacity: linkText.text.length > 0 ? 1 : 0 + + z: 20 + x: 0 + y: parent.height - implicitHeight + contentItem: QQC2.Label { + id: linkText + text: parent.text.startsWith("https://matrix.to/") ? "" : parent.text + } + Kirigami.Theme.colorSet: Kirigami.Theme.View + background: Rectangle { + color: Kirigami.Theme.backgroundColor + } } }