Qt: make the pause play button only one button

This is to avoid several issue with using 2 actions and switching between them.  This commit will instead have one action get his property changed on pause and play.
This commit is contained in:
aldelaro5
2018-05-14 16:05:23 -04:00
parent 1fe92b8be7
commit bc43f45119
2 changed files with 35 additions and 14 deletions

View File

@ -46,10 +46,10 @@ private:
void MakeActions();
void UpdateIcons();
void UpdatePausePlayButtonState(bool playing_state);
QAction* m_open_action;
QAction* m_play_action;
QAction* m_pause_action;
QAction* m_pause_play_action;
QAction* m_stop_action;
QAction* m_fullscreen_action;
QAction* m_screenshot_action;