From e827c9fba20938769382202e09f435a14f413e21 Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 8 Jul 2019 12:39:58 -0400 Subject: [PATCH] Fix debug initialRoomTimer causing segfaults --- src/qml/UI.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/UI.qml b/src/qml/UI.qml index b9b621b5..8e0942e0 100644 --- a/src/qml/UI.qml +++ b/src/qml/UI.qml @@ -15,6 +15,7 @@ Item { target: py onWillLoadAccounts: function(will) { pageStack.showPage(will ? "Default" : "SignIn") + if (will) {initialRoomTimer.start()} } } @@ -82,11 +83,10 @@ Item { pageStack.replace("Chat/Chat.qml", {"roomInfo": info}) } - Component.onCompleted: initialRoomTimer.start() Timer { // TODO: remove this, debug id: initialRoomTimer - interval: 3000 + interval: 4000 repeat: false onTriggered: pageStack.showRoom( "@test_mary:matrix.org",