1 files changed, 12 insertions, 0 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml
index 29da45eb..2c4dac0d 100644
--- a/resources/qml/Root.qml
+++ b/resources/qml/Root.qml
@@ -118,6 +118,13 @@ Page {
}
}
+ Component {
+ id: joinRoomDialog
+
+ JoinRoomDialog {
+ }
+ }
+
Shortcut {
sequence: "Ctrl+K"
onActivated: {
@@ -148,6 +155,11 @@ Page {
dialog.open();
}
+ function onOpenJoinRoomDialog() {
+ var dialog = joinRoomDialog.createObject(timelineRoot);
+ dialog.show();
+ }
+
target: Nheko
}
|