[vlc-devel] commit: Someone did not RTFM Qt::Key_Enter != Qt::Key_Return :D ( Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Sep 18 23:55:21 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 18 14:56:27 2008 -0700| [5c8874739fc36153c991486a1e72eba0ae982a5a] | committer: Jean-Baptiste Kempf 

Someone did not RTFM Qt::Key_Enter != Qt::Key_Return :D

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

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

diff --git a/modules/gui/qt4/util/customwidgets.cpp b/modules/gui/qt4/util/customwidgets.cpp
index ba58004..50f5fe2 100644
--- a/modules/gui/qt4/util/customwidgets.cpp
+++ b/modules/gui/qt4/util/customwidgets.cpp
@@ -127,6 +127,7 @@ int qtEventToVLCKey( QKeyEvent *e )
         HANDLE( Key_Down, KEY_DOWN );
         HANDLE( Key_Space, KEY_SPACE );
         HANDLE( Key_Escape, KEY_ESC );
+        HANDLE( Key_Return, KEY_ENTER );
         HANDLE( Key_Enter, KEY_ENTER );
         HANDLE( Key_F1, KEY_F1 );
         HANDLE( Key_F2, KEY_F2 );




More information about the vlc-devel mailing list