From 61aaa3c6b311cf131e303076acf747332af53e0f Mon Sep 17 00:00:00 2001 From: Pierre Lamot <pierre@videolabs.io> Date: Mon, 18 Oct 2021 10:07:12 +0200 Subject: [PATCH] qt: add missing search shortcut shortcut did exists in VLC 3.0 fix: #25892 --- modules/gui/qt/util/keyhelper.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt/util/keyhelper.hpp b/modules/gui/qt/util/keyhelper.hpp index 1a996bfa52b0..29b5d115f8c3 100644 --- a/modules/gui/qt/util/keyhelper.hpp +++ b/modules/gui/qt/util/keyhelper.hpp @@ -75,7 +75,8 @@ public: { return event->key() == Qt::Key_Search || event->key() == Qt::Key_Slash - || ( (event->modifiers() & Qt::ControlModifier) && event->key() == Qt::Key_F ); + || ( (event->modifiers() == Qt::ControlModifier) && event->key() == Qt::Key_K ) //global search + || ( (event->modifiers() == Qt::ControlModifier) && event->key() == Qt::Key_F ); //local search } static bool matchCancel(const QKeyEvent* event) -- GitLab