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/timeline/RoomlistModel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/timeline/RoomlistModel.h') diff --git a/src/timeline/RoomlistModel.h b/src/timeline/RoomlistModel.h index 1abeb812..0eb57547 100644 --- a/src/timeline/RoomlistModel.h +++ b/src/timeline/RoomlistModel.h @@ -46,7 +46,7 @@ public: bool isInvite_ = false; }; -class RoomlistModel : public QAbstractListModel +class RoomlistModel final : public QAbstractListModel { Q_OBJECT Q_PROPERTY( @@ -152,7 +152,7 @@ private: friend class FilteredRoomlistModel; }; -class FilteredRoomlistModel : public QSortFilterProxyModel +class FilteredRoomlistModel final : public QSortFilterProxyModel { Q_OBJECT Q_PROPERTY( -- cgit 1.5.1