summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-11-16 00:39:50 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-11-25 19:05:12 +0100
commit2bec5d083cc9d1b527d0b822ec520855805933f3 (patch)
tree752ed1bf5695780a88a46e62d8ea35704802d83f /resources/qml
parentMove calls to new input bar (diff)
downloadnheko-2bec5d083cc9d1b527d0b822ec520855805933f3.tar.xz
Use old style connection (for Qt5.12)
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/MessageInput.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml

index 17e1198d..e9f3a6b9 100644 --- a/resources/qml/MessageInput.qml +++ b/resources/qml/MessageInput.qml
@@ -88,9 +88,7 @@ Rectangle { } Connections { - function onInsertText(text_) { - textArea.insert(textArea.cursorPosition, text_); - } + onInsertText: textArea.insert(textArea.cursorPosition, text); target: TimelineManager.timeline.input }