Use a QSortFilterProxyModel instead of resetting the model
This commit is contained in:
parent
1777a1b52f
commit
7e538851d6
7 changed files with 71 additions and 29 deletions
|
|
@ -206,12 +206,12 @@ TimelineViewManager::TimelineViewManager(CallManager *callManager, ChatPage *par
|
|||
0,
|
||||
"InviteesModel",
|
||||
"InviteesModel needs to be instantiated on the C++ side");
|
||||
qmlRegisterUncreatableType<ReadReceiptsModel>(
|
||||
qmlRegisterUncreatableType<ReadReceiptsProxy>(
|
||||
"im.nheko",
|
||||
1,
|
||||
0,
|
||||
"ReadReceiptsModel",
|
||||
"ReadReceiptsModel needs to be instantiated on the C++ side");
|
||||
"ReadReceiptsProxy",
|
||||
"ReadReceiptsProxy needs to be instantiated on the C++ side");
|
||||
|
||||
static auto self = this;
|
||||
qmlRegisterSingletonType<MainWindow>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue