From 59ac47b08c144c7b1f1667aa371d3eb289edbf23 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sun, 24 Jan 2016 16:29:46 +0100 Subject: [PATCH] Hide statusbar and menubar by default --- src/lib/app/browserwindow.cpp | 4 ++-- src/lib/preferences/preferences.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/app/browserwindow.cpp b/src/lib/app/browserwindow.cpp index 6549fcf89..1729e7efe 100644 --- a/src/lib/app/browserwindow.cpp +++ b/src/lib/app/browserwindow.cpp @@ -415,7 +415,7 @@ void BrowserWindow::loadSettings() //Browser Window settings settings.beginGroup("Browser-View-Settings"); - bool showStatusBar = settings.value("showStatusBar", true).toBool(); + bool showStatusBar = settings.value("showStatusBar", false).toBool(); bool showReloadButton = settings.value("showReloadButton", true).toBool(); bool showHomeButton = settings.value("showHomeButton", true).toBool(); bool showBackForwardButtons = settings.value("showBackForwardButtons", true).toBool(); @@ -423,7 +423,7 @@ void BrowserWindow::loadSettings() bool showWebSearchBar = settings.value("showWebSearchBar", true).toBool(); bool showBookmarksToolbar = settings.value("showBookmarksToolbar", true).toBool(); bool showNavigationToolbar = settings.value("showNavigationToolbar", true).toBool(); - bool showMenuBar = settings.value("showMenubar", true).toBool(); + bool showMenuBar = settings.value("showMenubar", false).toBool(); m_sideBarWidth = settings.value("SideBarWidth", 250).toInt(); m_webViewWidth = settings.value("WebViewWidth", 2000).toInt(); const QString activeSideBar = settings.value("SideBar", "None").toString(); diff --git a/src/lib/preferences/preferences.cpp b/src/lib/preferences/preferences.cpp index ea601843f..80e287199 100644 --- a/src/lib/preferences/preferences.cpp +++ b/src/lib/preferences/preferences.cpp @@ -213,7 +213,7 @@ Preferences::Preferences(BrowserWindow* window) //APPEREANCE settings.beginGroup("Browser-View-Settings"); - ui->showStatusbar->setChecked(settings.value("showStatusBar", true).toBool()); + ui->showStatusbar->setChecked(settings.value("showStatusBar", false).toBool()); ui->showBookmarksToolbar->setChecked(settings.value("showBookmarksToolbar", true).toBool()); ui->showNavigationToolbar->setChecked(settings.value("showNavigationToolbar", true).toBool()); ui->showHome->setChecked(settings.value("showHomeButton", true).toBool());