diff --git a/Source/Core/DolphinQt2/Settings.cpp b/Source/Core/DolphinQt2/Settings.cpp index d289eef494..b0f31da715 100644 --- a/Source/Core/DolphinQt2/Settings.cpp +++ b/Source/Core/DolphinQt2/Settings.cpp @@ -399,7 +399,7 @@ void Settings::SetToolBarVisible(bool visible) bool Settings::IsToolBarVisible() const { - return GetQSettings().value(QStringLiteral("toolbar/visible")).toBool(); + return GetQSettings().value(QStringLiteral("toolbar/visible"), true).toBool(); } void Settings::SetWidgetsLocked(bool locked) diff --git a/Source/Core/DolphinQt2/ToolBar.cpp b/Source/Core/DolphinQt2/ToolBar.cpp index 521a3a8ea6..d7755344a4 100644 --- a/Source/Core/DolphinQt2/ToolBar.cpp +++ b/Source/Core/DolphinQt2/ToolBar.cpp @@ -21,6 +21,7 @@ ToolBar::ToolBar(QWidget* parent) : QToolBar(parent) setMovable(!Settings::Instance().AreWidgetsLocked()); setFloatable(false); setIconSize(ICON_SIZE); + setVisible(Settings::Instance().IsToolBarVisible()); setWindowTitle(tr("Toolbar")); setObjectName(QStringLiteral("toolbar"));