mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Preferences: Remove last Navigation Toolbar option
It is now configurable directly from navigation toolbar.
This commit is contained in:
parent
2d698edd21
commit
7f00b51fea
@ -216,7 +216,6 @@ Preferences::Preferences(BrowserWindow* window)
|
|||||||
connect(ui->instantBookmarksToolbar, SIGNAL(toggled(bool)), ui->showBookmarksToolbar, SLOT(setDisabled(bool)));
|
connect(ui->instantBookmarksToolbar, SIGNAL(toggled(bool)), ui->showBookmarksToolbar, SLOT(setDisabled(bool)));
|
||||||
connect(ui->showBookmarksToolbar, SIGNAL(toggled(bool)), ui->instantBookmarksToolbar, SLOT(setDisabled(bool)));
|
connect(ui->showBookmarksToolbar, SIGNAL(toggled(bool)), ui->instantBookmarksToolbar, SLOT(setDisabled(bool)));
|
||||||
ui->showNavigationToolbar->setChecked(settings.value("showNavigationToolbar", true).toBool());
|
ui->showNavigationToolbar->setChecked(settings.value("showNavigationToolbar", true).toBool());
|
||||||
ui->showWebSearchBar->setChecked(settings.value("showWebSearchBar", true).toBool());
|
|
||||||
int currentSettingsPage = settings.value("settingsDialogPage", 0).toInt(0);
|
int currentSettingsPage = settings.value("settingsDialogPage", 0).toInt(0);
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
@ -902,7 +901,6 @@ void Preferences::saveSettings()
|
|||||||
settings.setValue("instantBookmarksToolbar", ui->instantBookmarksToolbar->isChecked());
|
settings.setValue("instantBookmarksToolbar", ui->instantBookmarksToolbar->isChecked());
|
||||||
settings.setValue("showBookmarksToolbar", ui->showBookmarksToolbar->isChecked());
|
settings.setValue("showBookmarksToolbar", ui->showBookmarksToolbar->isChecked());
|
||||||
settings.setValue("showNavigationToolbar", ui->showNavigationToolbar->isChecked());
|
settings.setValue("showNavigationToolbar", ui->showNavigationToolbar->isChecked());
|
||||||
settings.setValue("showWebSearchBar", ui->showWebSearchBar->isChecked());
|
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
//TABS
|
//TABS
|
||||||
|
@ -146,7 +146,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>582</width>
|
<width>582</width>
|
||||||
<height>489</height>
|
<height>534</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||||
@ -594,13 +594,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="0" colspan="2">
|
|
||||||
<widget class="QLabel" name="label_8">
|
|
||||||
<property name="text">
|
|
||||||
<string><b>Navigation ToolBar</b></string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<spacer name="horizontalSpacer_8">
|
<spacer name="horizontalSpacer_8">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
@ -618,13 +611,6 @@
|
|||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="1">
|
<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">
|
<spacer name="verticalSpacer_12">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
@ -2427,7 +2413,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>96</width>
|
<width>96</width>
|
||||||
<height>28</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
||||||
|
Loading…
Reference in New Issue
Block a user