[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:53:42 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 18 14:56:27 2008 -0700| [bd665e4b023cb2b410875fdfc808340aef77ad59] | 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=bd665e4b023cb2b410875fdfc808340aef77ad59
---
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