mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36: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->showTabPreviews->setChecked(settings.value("showTabPreviews", true).toBool());
|
||||
ui->animatedTabPreviews->setChecked(settings.value("tabPreviewAnimationsEnabled", true).toBool());
|
||||
ui->showCloseButtonOnTabs->setChecked(settings.value("showCloseButtonOnTabs", true).toBool());
|
||||
settings.endGroup();
|
||||
|
||||
connect(ui->showTabPreviews, SIGNAL(toggled(bool)), this, SLOT(showTabPreviewsChanged(bool)));
|
||||
showTabPreviewsChanged(ui->showTabPreviews->isChecked());
|
||||
|
||||
@ -777,6 +779,7 @@ void Preferences::saveSettings()
|
||||
settings.setValue("closedInsteadOpenedTabs", ui->closedInsteadOpened->isChecked());
|
||||
settings.setValue("showTabPreviews", ui->showTabPreviews->isChecked());
|
||||
settings.setValue("tabPreviewAnimationsEnabled", ui->animatedTabPreviews->isChecked());
|
||||
settings.setValue("showCloseButtonOnTabs", ui->showCloseButtonOnTabs->isChecked());
|
||||
settings.endGroup();
|
||||
|
||||
//DOWNLOADS
|
||||
|
@ -660,6 +660,13 @@
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="showCloseButtonOnTabs">
|
||||
<property name="text">
|
||||
<string>Show close button on tabs</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="hideTabsOnTab">
|
||||
<property name="text">
|
||||
|
Loading…
Reference in New Issue
Block a user