summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-03-13 23:45:05 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-13 23:45:05 +0100
commit7a356f3832c2c401d963cd8a654f62ab56a9288b (patch)
treed34e679a6a9f99e579124c55f5b74674c8c7a655 /resources/qml/TimelineView.qml
parentDisable bundled OpenSSL by default, even with hunter (diff)
parentchange allowed mistakes, fix minor style issues, remove old completer functio... (diff)
downloadnheko-7a356f3832c2c401d963cd8a654f62ab56a9288b.tar.xz
Merge branch 'quickswitcher_qml' of git://github.com/Jedi18/nheko into Jedi18-quickswitcher_qml
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index 0a823329..20251bc0 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -72,6 +72,22 @@ Page {
 
     }
 
+    Component {
+        id: quickSwitcherComponent
+
+        QuickSwitcher {
+        }
+    }
+
+    Shortcut {
+        sequence: "Ctrl+K"
+        onActivated: {
+            var quickSwitch = quickSwitcherComponent.createObject(timelineRoot);
+            TimelineManager.focusTimeline()
+            quickSwitch.open();
+        }
+    }
+
     Menu {
         id: messageContextMenu