Skip to content
Snippets Groups Projects
Unverified Commit 3ec8a291 authored by Nicolas Werner's avatar Nicolas Werner Committed by GitHub
Browse files

Merge pull request #327 from kamathmanu/qtBackwardsCompatability

Make compatible with qt 5.12
parents 4d9d049f eb72fd2c
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,9 @@ Rectangle {
}
Connections {
function onCallStateChanged(state) {
target: TimelineManager
onCallStateChanged: {
switch (state) {
case WebRTCState.INITIATING:
callStateLabel.text = qsTr("Initiating...");
......@@ -73,8 +75,6 @@ Rectangle {
stackLayout.currentIndex = 0;
}
}
target: TimelineManager
}
Timer {
......
......@@ -180,13 +180,13 @@ ListView {
}
Connections {
function onMovementEnded() {
target: chat
onMovementEnded: {
if (y + height + 2 * chat.spacing > chat.contentY + chat.height && y < chat.contentY + chat.height)
chat.model.currentIndex = index;
}
target: chat
}
}
......
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment