summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-09-26 17:42:51 +0200
committerLéo Lam <leo@innovatetechnologi.es>2017-09-26 17:44:18 +0200
commit5c2e03380f7a23b8dfe8f6d17946b167a0a99ae2 (patch)
treeb804ba23df7edc5bce585261869b830ae0a177da /Source/Core
parent8dcd5cdd1de6d9bd90437a62cd5c9795586301b1 (diff)
Qt: Always show the stop button in the toolbar
Reverts a previous Qt change that was likely not intended to match WX.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt2/ToolBar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt2/ToolBar.cpp b/Source/Core/DolphinQt2/ToolBar.cpp
index ed563532b4..fe13a74c90 100644
--- a/Source/Core/DolphinQt2/ToolBar.cpp
+++ b/Source/Core/DolphinQt2/ToolBar.cpp
@@ -35,7 +35,6 @@ void ToolBar::OnEmulationStateChanged(Core::State state)
{
bool running = state != Core::State::Uninitialized;
m_stop_action->setEnabled(running);
- m_stop_action->setVisible(running);
m_fullscreen_action->setEnabled(running);
m_screenshot_action->setEnabled(running);
@@ -62,7 +61,7 @@ void ToolBar::MakeActions()
m_controllers_action = AddAction(this, tr("Controllers"), this, &ToolBar::ControllersPressed);
m_controllers_action->setEnabled(true);
- // Ensure every button has the same width
+ // Ensure every button has about the same width
std::vector<QWidget*> items;
for (const auto& action : {m_open_action, m_play_action, m_pause_action, m_stop_action,
m_stop_action, m_fullscreen_action, m_screenshot_action,