diff options
author | kamathmanu <manuriddle@gmail.com> | 2020-11-14 16:38:17 -0500 |
---|---|---|
committer | kamathmanu <manuriddle@gmail.com> | 2020-11-14 16:38:17 -0500 |
commit | eb72fd2cf9e56ff828c855eed0e68a971915004a (patch) | |
tree | cbb9086cfbafef30762e7eb64cb4a69630031cfb /resources/qml/TimelineView.qml | |
parent | Translated using Weblate (French) (diff) | |
download | nheko-eb72fd2cf9e56ff828c855eed0e68a971915004a.tar.xz |
Make compatible with qt 5.12
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index 9d00442c..95143b18 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -128,25 +128,25 @@ Page { } Connections { - function onNewDeviceVerificationRequest(flow, transactionId, userId, deviceId, isRequest) { + target: TimelineManager + + onNewDeviceVerificationRequest: { var dialog = deviceVerificationDialog.createObject(timelineRoot, { "flow": flow }); dialog.show(); } - - target: TimelineManager } Connections { - function onOpenProfile(profile) { + target: TimelineManager.timeline + + onOpenProfile: { var userProfile = userProfileComponent.createObject(timelineRoot, { "profile": profile }); userProfile.show(); } - - target: TimelineManager.timeline } Label { |