Commit 07238f9d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

parent 874f69d5
...@@ -140,6 +140,7 @@ void InputManager::delInput() ...@@ -140,6 +140,7 @@ void InputManager::delInput()
emit metaChanged( (input_item_t *)NULL ); emit metaChanged( (input_item_t *)NULL );
emit encryptionChanged( false ); emit encryptionChanged( false );
emit recordingStateChanged( false );
} }
/* Convert the event from the callbacks in actions */ /* Convert the event from the callbacks in actions */
......
...@@ -72,8 +72,8 @@ class IMEvent : public QEvent ...@@ -72,8 +72,8 @@ class IMEvent : public QEvent
friend class InputManager; friend class InputManager;
public: public:
IMEvent( int type, int id ) : QEvent( (QEvent::Type)(type) ) IMEvent( int type, int id ) : QEvent( (QEvent::Type)(type) )
{ i_id = id ; } ; { i_id = id ; }
virtual ~IMEvent() {}; virtual ~IMEvent() {}
private: private:
int i_id; int i_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment