Fix debug initialRoomTimer causing segfaults
This commit is contained in:
parent
4314767ac2
commit
e827c9fba2
|
@ -15,6 +15,7 @@ Item {
|
||||||
target: py
|
target: py
|
||||||
onWillLoadAccounts: function(will) {
|
onWillLoadAccounts: function(will) {
|
||||||
pageStack.showPage(will ? "Default" : "SignIn")
|
pageStack.showPage(will ? "Default" : "SignIn")
|
||||||
|
if (will) {initialRoomTimer.start()}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,11 +83,10 @@ Item {
|
||||||
pageStack.replace("Chat/Chat.qml", {"roomInfo": info})
|
pageStack.replace("Chat/Chat.qml", {"roomInfo": info})
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: initialRoomTimer.start()
|
|
||||||
Timer {
|
Timer {
|
||||||
// TODO: remove this, debug
|
// TODO: remove this, debug
|
||||||
id: initialRoomTimer
|
id: initialRoomTimer
|
||||||
interval: 3000
|
interval: 4000
|
||||||
repeat: false
|
repeat: false
|
||||||
onTriggered: pageStack.showRoom(
|
onTriggered: pageStack.showRoom(
|
||||||
"@test_mary:matrix.org",
|
"@test_mary:matrix.org",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user