summary refs log tree commit diff
path: root/resources/qml/Root.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r--resources/qml/Root.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml

index 4207f35b..29da45eb 100644 --- a/resources/qml/Root.qml +++ b/resources/qml/Root.qml
@@ -111,6 +111,13 @@ Page { } + Component { + id: logoutDialog + + LogoutDialog { + } + } + Shortcut { sequence: "Ctrl+K" onActivated: { @@ -136,6 +143,15 @@ Page { } Connections { + function onOpenLogoutDialog() { + var dialog = logoutDialog.createObject(timelineRoot); + dialog.open(); + } + + target: Nheko + } + + Connections { function onNewDeviceVerificationRequest(flow) { var dialog = deviceVerificationDialog.createObject(timelineRoot, { "flow": flow