[vlc-commits] [Git][videolan/vlc][master] qt: add missing search shortcut

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Oct 19 17:21:37 UTC 2021



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
61aaa3c6 by Pierre Lamot at 2021-10-19T17:07:32+00:00
qt: add missing search shortcut

shortcut did exists in VLC 3.0

fix: #25892

- - - - -


1 changed file:

- modules/gui/qt/util/keyhelper.hpp


Changes:

=====================================
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)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/61aaa3c6b311cf131e303076acf747332af53e0f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/61aaa3c6b311cf131e303076acf747332af53e0f
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list