summary refs log tree commit diff
path: root/resources/qml/UserProfile.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-27 22:35:38 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-27 22:35:38 +0200
commitd955444dc18b2977d8b22e87b92c85bca90a623e (patch)
tree22086804e4d01f85583fc46f72350317ee626849 /resources/qml/UserProfile.qml
parentFix crash on invalid utf8 in decrypted events (diff)
downloadnheko-d955444dc18b2977d8b22e87b92c85bca90a623e.tar.xz
Port to explicit connect syntax
Also fix a lot of warnings.
Diffstat (limited to 'resources/qml/UserProfile.qml')
-rw-r--r--resources/qml/UserProfile.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/qml/UserProfile.qml b/resources/qml/UserProfile.qml

index 826d3165..d138060b 100644 --- a/resources/qml/UserProfile.qml +++ b/resources/qml/UserProfile.qml
@@ -83,12 +83,13 @@ ApplicationWindow { } Connections { - target: profile - onDisplayError: { + function onDisplayError(errorMessage) { errorText.text = errorMessage; errorText.opacity = 1; hideErrorAnimation.restart(); } + + target: profile } TextInput {