diff options
| author | Méven Car <[email protected]> | 2023-08-23 13:11:20 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-08-23 14:26:09 +0200 |
| commit | ff852b97f110691cda4c2f63f8d0f6bf8759fe2f (patch) | |
| tree | 8a0127fba11bb6558591a3130e5612d3e5cfed04 /src/settings/viewmodes/viewsettingstab.h | |
| parent | 8891258ef686a6c0b57069e70d1a32a1870ad574 (diff) | |
Re-Allow to set settings in Settings-> View-> General page
Regressed in 489b56b68bb29e81337e115c490eea4403001b71
Simplify implementation by sharing making class ViewSettingsPage implement SettingsPageBase sharing implementation with other tabs in viewsettingspage
Diffstat (limited to 'src/settings/viewmodes/viewsettingstab.h')
| -rw-r--r-- | src/settings/viewmodes/viewsettingstab.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/settings/viewmodes/viewsettingstab.h b/src/settings/viewmodes/viewsettingstab.h index 6be8fc3b5..fd4cc85a7 100644 --- a/src/settings/viewmodes/viewsettingstab.h +++ b/src/settings/viewmodes/viewsettingstab.h @@ -7,7 +7,7 @@ #ifndef VIEWSETTINGSTAB_H #define VIEWSETTINGSTAB_H -#include <QWidget> +#include "settings/settingspagebase.h" class DolphinFontRequester; class QComboBox; @@ -19,7 +19,7 @@ class QRadioButton; /** * @brief Represents one tab of the view-settings page. */ -class ViewSettingsTab : public QWidget +class ViewSettingsTab : public SettingsPageBase { Q_OBJECT @@ -29,8 +29,8 @@ public: explicit ViewSettingsTab(Mode mode, QWidget *parent = nullptr); ~ViewSettingsTab() override; - void applySettings(); - void restoreDefaultSettings(); + void applySettings() override; + void restoreDefaults() override; Q_SIGNALS: void changed(); |
