diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-10-10 14:38:29 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-10-10 14:38:45 +0200 |
commit | af699eb83eddd981537432ab08a1bbe194e30df0 (patch) | |
tree | 07723c95231bd32018ea0b26267aab945f92e798 /src/UserSettingsPage.h | |
parent | Translated using Weblate (Indonesian) (diff) | |
download | nheko-af699eb83eddd981537432ab08a1bbe194e30df0.tar.xz |
Mark classes as final where possible
Diffstat (limited to 'src/UserSettingsPage.h')
-rw-r--r-- | src/UserSettingsPage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h index 34a792eb..45464173 100644 --- a/src/UserSettingsPage.h +++ b/src/UserSettingsPage.h @@ -26,7 +26,7 @@ constexpr int OptionMargin = 6; constexpr int LayoutTopMargin = 50; constexpr int LayoutBottomMargin = LayoutTopMargin; -class UserSettings : public QObject +class UserSettings final : public QObject { Q_OBJECT @@ -393,7 +393,7 @@ private: static QSharedPointer<UserSettings> instance_; }; -class UserSettingsModel : public QAbstractListModel +class UserSettingsModel final : public QAbstractListModel { Q_OBJECT |