summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-05-13 08:52:02 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-05-13 08:53:56 +0200
commit22afa122c4697d25fd2f1eb4c7931bcf4ea43f31 (patch)
tree9025b1e8aa07821b65a92640289e8e6efaaeefef /resources
parentMake palette global in Qml (diff)
downloadnheko-22afa122c4697d25fd2f1eb4c7931bcf4ea43f31.tar.xz
Move openLink to Nheko globals
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/MatrixText.qml2
-rw-r--r--resources/qml/RoomSettings.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/MatrixText.qml b/resources/qml/MatrixText.qml

index fa1cd98c..167899a5 100644 --- a/resources/qml/MatrixText.qml +++ b/resources/qml/MatrixText.qml
@@ -14,7 +14,7 @@ TextEdit { selectByMouse: !Settings.mobileMode enabled: selectByMouse color: Nheko.colors.text - onLinkActivated: TimelineManager.openLink(link) + onLinkActivated: Nheko.openLink(link) ToolTip.visible: hoveredLink ToolTip.text: hoveredLink diff --git a/resources/qml/RoomSettings.qml b/resources/qml/RoomSettings.qml
index ba577f33..14de0edf 100644 --- a/resources/qml/RoomSettings.qml +++ b/resources/qml/RoomSettings.qml
@@ -128,7 +128,7 @@ ApplicationWindow { selectByMouse: true color: Nheko.colors.text horizontalAlignment: TextEdit.AlignHCenter - onLinkActivated: TimelineManager.openLink(link) + onLinkActivated: Nheko.openLink(link) CursorShape { anchors.fill: parent