summary refs log tree commit diff
path: root/resources/qml/Root.qml
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-10-09 20:57:38 +0000
committerGitHub <noreply@github.com>2021-10-09 20:57:38 +0000
commit7eb9071b50e540fdcde4d132bdf76825da4518e4 (patch)
tree4736f7d46480146f5ddb41bd1cc598aaca05534f /resources/qml/Root.qml
parentMerge pull request #752 from Thulinma/devicelistEdits (diff)
parentmake lint (diff)
downloadnheko-7eb9071b50e540fdcde4d132bdf76825da4518e4.tar.xz
Merge pull request #743 from LorenDB/qmlLogout
QML the logout dialog
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