1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Preferences: Remove last Navigation Toolbar option

It is now configurable directly from navigation toolbar.
This commit is contained in:
David Rosca 2018-01-05 20:16:31 +01:00
parent 2d698edd21
commit 7f00b51fea
2 changed files with 2 additions and 18 deletions

View File

@ -216,7 +216,6 @@ Preferences::Preferences(BrowserWindow* window)
connect(ui->instantBookmarksToolbar, SIGNAL(toggled(bool)), ui->showBookmarksToolbar, SLOT(setDisabled(bool)));
connect(ui->showBookmarksToolbar, SIGNAL(toggled(bool)), ui->instantBookmarksToolbar, SLOT(setDisabled(bool)));
ui->showNavigationToolbar->setChecked(settings.value("showNavigationToolbar", true).toBool());
ui->showWebSearchBar->setChecked(settings.value("showWebSearchBar", true).toBool());
int currentSettingsPage = settings.value("settingsDialogPage", 0).toInt(0);
settings.endGroup();
@ -902,7 +901,6 @@ void Preferences::saveSettings()
settings.setValue("instantBookmarksToolbar", ui->instantBookmarksToolbar->isChecked());
settings.setValue("showBookmarksToolbar", ui->showBookmarksToolbar->isChecked());
settings.setValue("showNavigationToolbar", ui->showNavigationToolbar->isChecked());
settings.setValue("showWebSearchBar", ui->showWebSearchBar->isChecked());
settings.endGroup();
//TABS

View File

@ -146,7 +146,7 @@
<x>0</x>
<y>0</y>
<width>582</width>
<height>489</height>
<height>534</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
@ -594,13 +594,6 @@
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QLabel" name="label_8">
<property name="text">
<string>&lt;b&gt;Navigation ToolBar&lt;/b&gt;</string>
</property>
</widget>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer_8">
<property name="orientation">
@ -618,13 +611,6 @@
</spacer>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="showWebSearchBar">
<property name="text">
<string>Show web search bar</string>
</property>
</widget>
</item>
<item row="5" column="1">
<spacer name="verticalSpacer_12">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -2427,7 +2413,7 @@
<x>0</x>
<y>0</y>
<width>96</width>
<height>28</height>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_14">