diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-13 23:45:05 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-13 23:45:05 +0100 |
commit | 7a356f3832c2c401d963cd8a654f62ab56a9288b (patch) | |
tree | d34e679a6a9f99e579124c55f5b74674c8c7a655 /resources/qml/TimelineView.qml | |
parent | Disable bundled OpenSSL by default, even with hunter (diff) | |
parent | change allowed mistakes, fix minor style issues, remove old completer functio... (diff) | |
download | nheko-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.qml | 16 |
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 |