[vlc-devel] commit: Qt: reset record button state when switching to a new item ( Jean-Baptiste Kempf )

git version control git at videolan.org
Fri May 1 19:22:40 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri May  1 19:21:53 2009 +0200| [07238f9d10eb32605a3a35abb26c209dc0a4e94a] | committer: Jean-Baptiste Kempf 

Qt: reset record button state when switching to a new item

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

 modules/gui/qt4/input_manager.cpp |    1 +
 modules/gui/qt4/input_manager.hpp |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 5ca2c00..a596ebd 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -140,6 +140,7 @@ void InputManager::delInput()
     emit metaChanged( (input_item_t *)NULL );
 
     emit encryptionChanged( false );
+    emit recordingStateChanged( false );
 }
 
 /* Convert the event from the callbacks in actions */
diff --git a/modules/gui/qt4/input_manager.hpp b/modules/gui/qt4/input_manager.hpp
index 56f2c36..d9b6630 100644
--- a/modules/gui/qt4/input_manager.hpp
+++ b/modules/gui/qt4/input_manager.hpp
@@ -72,8 +72,8 @@ class IMEvent : public QEvent
 friend class InputManager;
     public:
     IMEvent( int type, int id ) : QEvent( (QEvent::Type)(type) )
-    { i_id = id ; } ;
-    virtual ~IMEvent() {};
+    { i_id = id ; }
+    virtual ~IMEvent() {}
 
 private:
     int i_id;




More information about the vlc-devel mailing list