From af699eb83eddd981537432ab08a1bbe194e30df0 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 10 Oct 2022 14:38:29 +0200 Subject: Mark classes as final where possible --- src/UserSettingsPage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/UserSettingsPage.h') 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 instance_; }; -class UserSettingsModel : public QAbstractListModel +class UserSettingsModel final : public QAbstractListModel { Q_OBJECT -- cgit 1.5.1