summary refs log tree commit diff
path: root/src/timeline/RoomlistModel.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/timeline/RoomlistModel.h
parentTranslated using Weblate (Indonesian) (diff)
downloadnheko-af699eb83eddd981537432ab08a1bbe194e30df0.tar.xz
Mark classes as final where possible
Diffstat (limited to 'src/timeline/RoomlistModel.h')
-rw-r--r--src/timeline/RoomlistModel.h4
1 files changed, 2 insertions, 2 deletions
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(