mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
parent
8a859a9b56
commit
58a07aed81
@ -172,7 +172,9 @@ Preferences::Preferences(QupZilla* mainClass, QWidget* parent)
|
|||||||
ui->closedInsteadOpened->setChecked(settings.value("closedInsteadOpenedTabs", false).toBool());
|
ui->closedInsteadOpened->setChecked(settings.value("closedInsteadOpenedTabs", false).toBool());
|
||||||
ui->showTabPreviews->setChecked(settings.value("showTabPreviews", true).toBool());
|
ui->showTabPreviews->setChecked(settings.value("showTabPreviews", true).toBool());
|
||||||
ui->animatedTabPreviews->setChecked(settings.value("tabPreviewAnimationsEnabled", true).toBool());
|
ui->animatedTabPreviews->setChecked(settings.value("tabPreviewAnimationsEnabled", true).toBool());
|
||||||
|
ui->showCloseButtonOnTabs->setChecked(settings.value("showCloseButtonOnTabs", true).toBool());
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
connect(ui->showTabPreviews, SIGNAL(toggled(bool)), this, SLOT(showTabPreviewsChanged(bool)));
|
connect(ui->showTabPreviews, SIGNAL(toggled(bool)), this, SLOT(showTabPreviewsChanged(bool)));
|
||||||
showTabPreviewsChanged(ui->showTabPreviews->isChecked());
|
showTabPreviewsChanged(ui->showTabPreviews->isChecked());
|
||||||
|
|
||||||
@ -777,6 +779,7 @@ void Preferences::saveSettings()
|
|||||||
settings.setValue("closedInsteadOpenedTabs", ui->closedInsteadOpened->isChecked());
|
settings.setValue("closedInsteadOpenedTabs", ui->closedInsteadOpened->isChecked());
|
||||||
settings.setValue("showTabPreviews", ui->showTabPreviews->isChecked());
|
settings.setValue("showTabPreviews", ui->showTabPreviews->isChecked());
|
||||||
settings.setValue("tabPreviewAnimationsEnabled", ui->animatedTabPreviews->isChecked());
|
settings.setValue("tabPreviewAnimationsEnabled", ui->animatedTabPreviews->isChecked());
|
||||||
|
settings.setValue("showCloseButtonOnTabs", ui->showCloseButtonOnTabs->isChecked());
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
//DOWNLOADS
|
//DOWNLOADS
|
||||||
|
@ -660,6 +660,13 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="showCloseButtonOnTabs">
|
||||||
|
<property name="text">
|
||||||
|
<string>Show close button on tabs</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="hideTabsOnTab">
|
<widget class="QCheckBox" name="hideTabsOnTab">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
Loading…
Reference in New Issue
Block a user