summary refs log tree commit diff
path: root/src/UserSettingsPage.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-10-10 14:38:29 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-10-10 14:38:45 +0200
commitaf699eb83eddd981537432ab08a1bbe194e30df0 (patch)
tree07723c95231bd32018ea0b26267aab945f92e798 /src/UserSettingsPage.h
parentTranslated using Weblate (Indonesian) (diff)
downloadnheko-af699eb83eddd981537432ab08a1bbe194e30df0.tar.xz
Mark classes as final where possible
Diffstat (limited to 'src/UserSettingsPage.h')
-rw-r--r--src/UserSettingsPage.h4
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