1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Hide statusbar and menubar by default

This commit is contained in:
David Rosca 2016-01-24 16:29:46 +01:00
parent 48210c5aa6
commit 59ac47b08c
2 changed files with 3 additions and 3 deletions

View File

@ -415,7 +415,7 @@ void BrowserWindow::loadSettings()
//Browser Window settings //Browser Window settings
settings.beginGroup("Browser-View-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 showReloadButton = settings.value("showReloadButton", true).toBool();
bool showHomeButton = settings.value("showHomeButton", true).toBool(); bool showHomeButton = settings.value("showHomeButton", true).toBool();
bool showBackForwardButtons = settings.value("showBackForwardButtons", true).toBool(); bool showBackForwardButtons = settings.value("showBackForwardButtons", true).toBool();
@ -423,7 +423,7 @@ void BrowserWindow::loadSettings()
bool showWebSearchBar = settings.value("showWebSearchBar", true).toBool(); bool showWebSearchBar = settings.value("showWebSearchBar", true).toBool();
bool showBookmarksToolbar = settings.value("showBookmarksToolbar", true).toBool(); bool showBookmarksToolbar = settings.value("showBookmarksToolbar", true).toBool();
bool showNavigationToolbar = settings.value("showNavigationToolbar", 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_sideBarWidth = settings.value("SideBarWidth", 250).toInt();
m_webViewWidth = settings.value("WebViewWidth", 2000).toInt(); m_webViewWidth = settings.value("WebViewWidth", 2000).toInt();
const QString activeSideBar = settings.value("SideBar", "None").toString(); const QString activeSideBar = settings.value("SideBar", "None").toString();

View File

@ -213,7 +213,7 @@ Preferences::Preferences(BrowserWindow* window)
//APPEREANCE //APPEREANCE
settings.beginGroup("Browser-View-Settings"); 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->showBookmarksToolbar->setChecked(settings.value("showBookmarksToolbar", true).toBool());
ui->showNavigationToolbar->setChecked(settings.value("showNavigationToolbar", true).toBool()); ui->showNavigationToolbar->setChecked(settings.value("showNavigationToolbar", true).toBool());
ui->showHome->setChecked(settings.value("showHomeButton", true).toBool()); ui->showHome->setChecked(settings.value("showHomeButton", true).toBool());