From 91ee066751a39747df43d69ba9ab0975ff4800af Mon Sep 17 00:00:00 2001 From: Megamouse Date: Tue, 6 Jun 2023 00:51:21 +0200 Subject: [PATCH] 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 --- rpcs3/rpcs3qt/main_window.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 3621d86863..73b1054168 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -1827,11 +1827,11 @@ void main_window::OnEmuPause() const void main_window::OnEmuStop() { 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(); - ui->sysPauseAct->setText(Emu.IsReady() ? tr("&Play") : tr("&Resume")); + ui->sysPauseAct->setText(tr("&Play")); ui->sysPauseAct->setIcon(m_icon_play); #ifdef _WIN32 m_thumb_playPause->setToolTip(play_tooltip); @@ -1885,14 +1885,14 @@ void main_window::OnEmuStop() void main_window::OnEmuReady() const { 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); #ifdef _WIN32 m_thumb_playPause->setToolTip(play_tooltip); m_thumb_playPause->setIcon(m_icon_thumb_play); #endif - ui->sysPauseAct->setText(Emu.IsReady() ? tr("&Play") : tr("&Resume")); + ui->sysPauseAct->setText(tr("&Play")); ui->sysPauseAct->setIcon(m_icon_play); ui->toolbar_start->setIcon(m_icon_play); ui->toolbar_start->setText(tr("Play"));