mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Qt: Add Graphics option to tool bar
This commit is contained in:
parent
7c97c14eba
commit
1b1ab3119a
2 changed files with 6 additions and 0 deletions
|
@ -83,6 +83,9 @@ void ToolBar::MakeActions()
|
|||
m_config_action = addAction(tr("Settings"), this, SIGNAL(SettingsPressed()));
|
||||
widgetForAction(m_config_action)->setMinimumWidth(button_width);
|
||||
|
||||
m_graphics_action = addAction(tr("Graphics"), this, SIGNAL(GraphicsPressed()));
|
||||
widgetForAction(m_graphics_action)->setMinimumWidth(button_width);
|
||||
|
||||
m_controllers_action = addAction(tr("Controllers"), this, SIGNAL(ControllersPressed()));
|
||||
widgetForAction(m_controllers_action)->setMinimumWidth(button_width);
|
||||
m_controllers_action->setEnabled(true);
|
||||
|
@ -98,4 +101,5 @@ void ToolBar::UpdateIcons()
|
|||
m_screenshot_action->setIcon(Resources::GetScaledThemeIcon("screenshot"));
|
||||
m_config_action->setIcon(Resources::GetScaledThemeIcon("config"));
|
||||
m_controllers_action->setIcon(Resources::GetScaledThemeIcon("classic"));
|
||||
m_graphics_action->setIcon(Resources::GetScaledThemeIcon("graphics"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue