mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 18:01:56 +00:00
parent
ea116fbbdf
commit
2b811d8272
899 changed files with 3723 additions and 285 deletions
|
@ -119,9 +119,12 @@ void ToolBar::MakeActions()
|
|||
|
||||
addSeparator();
|
||||
|
||||
m_pause_play_action = addAction(tr("Play"), this, &ToolBar::PlayPressed);
|
||||
|
||||
m_pause_play_action = addAction(tr("Local Play"), this, &ToolBar::PlayPressed);
|
||||
m_start_netplay_action = addAction(tr("Online Play"), this, &ToolBar::StartNetPlayPressed);
|
||||
m_stop_action = addAction(tr("Stop"), this, &ToolBar::StopPressed);
|
||||
|
||||
addSeparator();
|
||||
|
||||
m_fullscreen_action = addAction(tr("FullScr"), this, &ToolBar::FullScreenPressed);
|
||||
m_screenshot_action = addAction(tr("ScrShot"), this, &ToolBar::ScreenShotPressed);
|
||||
|
||||
|
@ -164,7 +167,7 @@ void ToolBar::UpdatePausePlayButtonState(const bool playing_state)
|
|||
else
|
||||
{
|
||||
disconnect(m_pause_play_action, 0, 0, 0);
|
||||
m_pause_play_action->setText(tr("Play"));
|
||||
m_pause_play_action->setText(tr("Local Play"));
|
||||
m_pause_play_action->setIcon(Resources::GetScaledThemeIcon("play"));
|
||||
connect(m_pause_play_action, &QAction::triggered, this, &ToolBar::PlayPressed);
|
||||
}
|
||||
|
@ -195,4 +198,5 @@ void ToolBar::UpdateIcons()
|
|||
m_config_action->setIcon(Resources::GetScaledThemeIcon("config"));
|
||||
m_controllers_action->setIcon(Resources::GetScaledThemeIcon("classic"));
|
||||
m_graphics_action->setIcon(Resources::GetScaledThemeIcon("graphics"));
|
||||
m_start_netplay_action->setIcon(Resources::GetScaledThemeIcon("wifi"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue