mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Hide statusbar and menubar by default
This commit is contained in:
parent
48210c5aa6
commit
59ac47b08c
|
@ -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();
|
||||||
|
|
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user