[vlc-devel] commit: Qt4: handle Meta modifier in the prefs ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Feb 25 18:46:44 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb 25 19:46:23 2010 +0200| [55a915eaaec6c0ddebfa45690bcf59d07a0c87ae] | committer: Rémi Denis-Courmont 

Qt4: handle Meta modifier in the prefs

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

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

diff --git a/modules/gui/qt4/util/customwidgets.cpp b/modules/gui/qt4/util/customwidgets.cpp
index 26e808f..f0eeb2f 100644
--- a/modules/gui/qt4/util/customwidgets.cpp
+++ b/modules/gui/qt4/util/customwidgets.cpp
@@ -427,6 +427,8 @@ QString VLCKeyToString( int val )
         r+= qfu( "Alt+" );
     if( val & KEY_MODIFIER_SHIFT )
         r+= qfu( "Shift+" );
+    if( val & KEY_MODIFIER_META )
+        r+= qfu( "Meta+" );
 
     if (base)
     {




More information about the vlc-devel mailing list