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()
emit metaChanged( (input_item_t *)NULL );
emit encryptionChanged( false );
emit recordingStateChanged( false );
}
/* Convert the event from the callbacks in actions */
......
......@@ -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;
......
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