mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
Qt: do not set play/pause button texts to 'Resume' on emu stop or ready
Since the states now always seem to match, this makes no sense anymore
This commit is contained in:
parent
404d08ef6d
commit
91ee066751
1 changed files with 4 additions and 4 deletions
|
@ -1827,11 +1827,11 @@ void main_window::OnEmuPause() const
|
||||||
void main_window::OnEmuStop()
|
void main_window::OnEmuStop()
|
||||||
{
|
{
|
||||||
const QString title = GetCurrentTitle();
|
const QString title = GetCurrentTitle();
|
||||||
const QString play_tooltip = Emu.IsReady() ? tr("Play %0").arg(title) : tr("Resume %0").arg(title);
|
const QString play_tooltip = tr("Play %0").arg(title);
|
||||||
|
|
||||||
m_debugger_frame->UpdateUI();
|
m_debugger_frame->UpdateUI();
|
||||||
|
|
||||||
ui->sysPauseAct->setText(Emu.IsReady() ? tr("&Play") : tr("&Resume"));
|
ui->sysPauseAct->setText(tr("&Play"));
|
||||||
ui->sysPauseAct->setIcon(m_icon_play);
|
ui->sysPauseAct->setIcon(m_icon_play);
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
m_thumb_playPause->setToolTip(play_tooltip);
|
m_thumb_playPause->setToolTip(play_tooltip);
|
||||||
|
@ -1885,14 +1885,14 @@ void main_window::OnEmuStop()
|
||||||
void main_window::OnEmuReady() const
|
void main_window::OnEmuReady() const
|
||||||
{
|
{
|
||||||
const QString title = GetCurrentTitle();
|
const QString title = GetCurrentTitle();
|
||||||
const QString play_tooltip = Emu.IsReady() ? tr("Play %0").arg(title) : tr("Resume %0").arg(title);
|
const QString play_tooltip = tr("Play %0").arg(title);
|
||||||
|
|
||||||
m_debugger_frame->EnableButtons(true);
|
m_debugger_frame->EnableButtons(true);
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
m_thumb_playPause->setToolTip(play_tooltip);
|
m_thumb_playPause->setToolTip(play_tooltip);
|
||||||
m_thumb_playPause->setIcon(m_icon_thumb_play);
|
m_thumb_playPause->setIcon(m_icon_thumb_play);
|
||||||
#endif
|
#endif
|
||||||
ui->sysPauseAct->setText(Emu.IsReady() ? tr("&Play") : tr("&Resume"));
|
ui->sysPauseAct->setText(tr("&Play"));
|
||||||
ui->sysPauseAct->setIcon(m_icon_play);
|
ui->sysPauseAct->setIcon(m_icon_play);
|
||||||
ui->toolbar_start->setIcon(m_icon_play);
|
ui->toolbar_start->setIcon(m_icon_play);
|
||||||
ui->toolbar_start->setText(tr("Play"));
|
ui->toolbar_start->setText(tr("Play"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue