]> git.sesse.net Git - vlc/commitdiff
Qt: reset record button state when switching to a new item
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 1 May 2009 17:21:53 +0000 (19:21 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 1 May 2009 17:21:53 +0000 (19:21 +0200)
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.hpp

index 5ca2c006cabb9c0e2cde604e173c0c379297d02b..a596ebd9bf6b58f70e9886d652194a52727fd93e 100644 (file)
@@ -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 */
index 56f2c36373e9b6711be6ad1fb3ba471cc3660acb..d9b6630b28691648fc51c2120268ce0034b90e82 100644 (file)
@@ -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;