Permalink
Browse files

Merge pull request #6903 from spycrab/qt_toolbar

Qt/ToolBar: Fix checkbox not properly reflecting toolbar visibility
  • Loading branch information...
leoetlino committed May 19, 2018
2 parents fc525bd + 7a8b2da commit e54880e9f309751458889fa8d95e32e5e2e35190
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/Core/DolphinQt2/ToolBar.cpp
@@ -40,6 +40,7 @@ ToolBar::ToolBar(QWidget* parent) : QToolBar(parent)
connect(&Settings::Instance(), &Settings::DebugModeToggled, this, &ToolBar::OnDebugModeToggled);
connect(&Settings::Instance(), &Settings::ToolBarVisibilityChanged, this, &ToolBar::setVisible);
connect(this, &ToolBar::visibilityChanged, &Settings::Instance(), &Settings::SetToolBarVisible);
connect(&Settings::Instance(), &Settings::WidgetLockChanged, this,
[this](bool locked) { setMovable(!locked); });

0 comments on commit e54880e

Please sign in to comment.