[vlc-commits] commit: support mce remote controllers record button in QT4 GUI win32 ( Kaarlo Raiha )
git at videolan.org
git at videolan.org
Sun Dec 5 19:47:29 CET 2010
vlc | branch: master | Kaarlo Raiha <kaarlo.raiha at gmail.com> | Sat Dec 4 19:31:06 2010 +0200| [70526ce235650b7f39a8abc3c06682bd6a0d7d47] | committer: Jean-Baptiste Kempf
support mce remote controllers record button in QT4 GUI win32
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70526ce235650b7f39a8abc3c06682bd6a0d7d47
---
modules/gui/qt4/actions_manager.hpp | 2 +-
modules/gui/qt4/main_interface_win32.cpp | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/actions_manager.hpp b/modules/gui/qt4/actions_manager.hpp
index fb05481..4dbf06b 100644
--- a/modules/gui/qt4/actions_manager.hpp
+++ b/modules/gui/qt4/actions_manager.hpp
@@ -85,11 +85,11 @@ public slots:
void AudioUp();
void AudioDown();
void play();
+ void record();
protected slots:
void fullscreen();
void snapshot();
void playlist();
- void record();
void frame();
virtual void doAction( int );
diff --git a/modules/gui/qt4/main_interface_win32.cpp b/modules/gui/qt4/main_interface_win32.cpp
index 5c8b0f1..386c909 100644
--- a/modules/gui/qt4/main_interface_win32.cpp
+++ b/modules/gui/qt4/main_interface_win32.cpp
@@ -203,6 +203,9 @@ bool MainInterface::winEvent ( MSG * msg, long * result )
case APPCOMMAND_MEDIA_STOP:
THEMIM->stop();
break;
+ case APPCOMMAND_MEDIA_RECORD:
+ THEAM->record();
+ break;
case APPCOMMAND_VOLUME_DOWN:
THEAM->AudioDown();
break;
More information about the vlc-commits
mailing list