[vlc-commits] skins2: also enable key accelerators when focus on playlist

Erwan Tulou git at videolan.org
Tue Sep 8 14:56:02 CEST 2015


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sat Jul 18 22:53:07 2015 +0200| [a3a09ff07b226116c32a0ff12fb20a6c1ee2bf86] | committer: Erwan Tulou

skins2: also enable key accelerators when focus on playlist

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3a09ff07b226116c32a0ff12fb20a6c1ee2bf86
---

 modules/gui/skins2/controls/ctrl_tree.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/skins2/controls/ctrl_tree.cpp b/modules/gui/skins2/controls/ctrl_tree.cpp
index 55945cc..63fe050 100644
--- a/modules/gui/skins2/controls/ctrl_tree.cpp
+++ b/modules/gui/skins2/controls/ctrl_tree.cpp
@@ -31,6 +31,7 @@
 #include "../src/generic_bitmap.hpp"
 #include "../src/generic_font.hpp"
 #include "../src/scaled_bitmap.hpp"
+#include "../src/dialogs.hpp"
 #include "../utils/position.hpp"
 #include "../utils/ustring.hpp"
 #include "../events/evt_key.hpp"
@@ -382,8 +383,7 @@ void CtrlTree::handleEvent( EvtGeneric &rEvent )
         {
             // other keys to be forwarded to vlc core
             EvtKey& rEvtKey = (EvtKey&)rEvent;
-            var_SetInteger( getIntf()->p_libvlc, "key-pressed",
-                            rEvtKey.getModKey() );
+            getIntf()->p_sys->p_dialogs->sendKey( rEvtKey.getModKey() );
         }
     }
 



More information about the vlc-commits mailing list