summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-07-28 21:31:37 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-29 21:07:52 -0400
commit7e538851d6e3779434722e56a968e9f8b8a9da0d (patch)
tree8147ac95a7e17b66c398cb3d09185d3194f5520b /resources
parentReset model instead of doing weird convoluted updates (diff)
downloadnheko-7e538851d6e3779434722e56a968e9f8b8a9da0d.tar.xz
Use a QSortFilterProxyModel instead of resetting the model
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/ReadReceipts.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/ReadReceipts.qml b/resources/qml/ReadReceipts.qml

index 84dc5666..5f213328 100644 --- a/resources/qml/ReadReceipts.qml +++ b/resources/qml/ReadReceipts.qml
@@ -10,7 +10,7 @@ import im.nheko 1.0 ApplicationWindow { id: readReceiptsRoot - property ReadReceiptsModel readReceipts + property ReadReceiptsProxy readReceipts x: MainWindow.x + (MainWindow.width / 2) - (width / 2) y: MainWindow.y + (MainWindow.height / 2) - (height / 2) @@ -86,7 +86,7 @@ ApplicationWindow { ToolTip.text: model.mxid TapHandler { - onSingleTapped: chat.model.openUserProfile(userId) + onSingleTapped: Rooms.currentRoom.openUserProfile(userId) } CursorShape {