[vlc-devel] [PATCH] Small change to let other keyboard layouts have hotkeys

Cristian Militaru cristipiticul at gmail.com
Wed Jan 11 18:24:28 CET 2012


From: Cristian Militaru <cristipiticul at yahoo.com>

---
 modules/gui/qt4/util/customwidgets.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/util/customwidgets.cpp b/modules/gui/qt4/util/customwidgets.cpp
index 16c6563..353558e 100644
--- a/modules/gui/qt4/util/customwidgets.cpp
+++ b/modules/gui/qt4/util/customwidgets.cpp
@@ -248,7 +248,7 @@ static int keycmp( const void *a, const void *b )
 int qtEventToVLCKey( QKeyEvent *e )
 {
     int qtk = e->key();
-    uint32_t i_vlck = 0;
+    uint32_t i_vlck = qtk;
 
     if( qtk <= 0xff )
     {
-- 
1.7.5.4




More information about the vlc-devel mailing list