diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-28 21:31:37 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-29 21:07:52 -0400 |
commit | 7e538851d6e3779434722e56a968e9f8b8a9da0d (patch) | |
tree | 8147ac95a7e17b66c398cb3d09185d3194f5520b /src/timeline/TimelineModel.cpp | |
parent | Reset model instead of doing weird convoluted updates (diff) | |
download | nheko-7e538851d6e3779434722e56a968e9f8b8a9da0d.tar.xz |
Use a QSortFilterProxyModel instead of resetting the model
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index f5737063..6ae0c4d1 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -1092,7 +1092,7 @@ TimelineModel::relatedInfo(QString id) void TimelineModel::showReadReceipts(QString id) { - emit openReadReceiptsDialog(new ReadReceiptsModel{id, roomId(), this}); + emit openReadReceiptsDialog(new ReadReceiptsProxy{id, roomId(), this}); } void |