Mercurial > minori
diff include/gui/dialog/settings.h @ 95:8043152ef9d4
include: set classes as final where appropriate
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 01 Nov 2023 14:39:43 -0400 |
parents | c69230dc2b5d |
children | c537996cf67b |
line wrap: on
line diff
--- a/include/gui/dialog/settings.h Wed Nov 01 14:30:26 2023 -0400 +++ b/include/gui/dialog/settings.h Wed Nov 01 14:39:43 2023 -0400 @@ -24,7 +24,7 @@ QTabWidget* tab_widget; }; -class SettingsPageServices : public SettingsPage { +class SettingsPageServices final : public SettingsPage { public: SettingsPageServices(QWidget* parent = nullptr); void SaveInfo() override; @@ -36,7 +36,7 @@ Anime::Services service; }; -class SettingsPageApplication : public SettingsPage { +class SettingsPageApplication final : public SettingsPage { public: SettingsPageApplication(QWidget* parent = nullptr); void SaveInfo() override; @@ -50,7 +50,7 @@ bool highlighted_anime_above_others; }; -class SettingsDialog : public QDialog { +class SettingsDialog final : public QDialog { Q_OBJECT public: