app: set play button label according to playback state [skip ci]

This commit is contained in:
Ramen2X 2024-02-29 20:53:14 -05:00
parent 9b3a8da32a
commit 76dab7dfd9

View file

@ -420,7 +420,9 @@ void MediaPanel::Play(bool e)
m_PlaybackStart = QDateTime::currentMSecsSinceEpoch(); m_PlaybackStart = QDateTime::currentMSecsSinceEpoch();
m_PlaybackTimer->start(); m_PlaybackTimer->start();
m_PlayBtn->setText("Pause");
} else { } else {
m_PlayBtn->setText("Play");
m_PlaybackTimer->stop(); m_PlaybackTimer->stop();
} }
m_PlayBtn->setChecked(e); m_PlayBtn->setChecked(e);