summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorkamathmanu <manuriddle@gmail.com>2020-11-14 16:38:17 -0500
committerkamathmanu <manuriddle@gmail.com>2020-11-14 16:38:17 -0500
commiteb72fd2cf9e56ff828c855eed0e68a971915004a (patch)
treecbb9086cfbafef30762e7eb64cb4a69630031cfb /resources/qml/TimelineView.qml
parentTranslated using Weblate (French) (diff)
downloadnheko-eb72fd2cf9e56ff828c855eed0e68a971915004a.tar.xz
Make compatible with qt 5.12
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml12
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 {