Fix room categories sorting
This commit is contained in:
parent
b02fc11903
commit
fcd492ff2d
1
TODO.md
1
TODO.md
|
@ -1,5 +1,4 @@
|
|||
- room doesn't change category when accept/reject invite
|
||||
- forget doesn't delete
|
||||
|
||||
- "rejoin" leftbanner button if room is public
|
||||
- daybreak color
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
import QtQuick 2.7
|
||||
import SortFilterProxyModel 0.2
|
||||
import "../Base"
|
||||
|
||||
HListModel {}
|
||||
HListModel {
|
||||
sorters: [
|
||||
FilterSorter { ValueFilter { roleName: "name"; value: "Invites" } },
|
||||
FilterSorter { ValueFilter { roleName: "name"; value: "Rooms" } },
|
||||
FilterSorter { ValueFilter { roleName: "name"; value: "Left" } }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -14,12 +14,6 @@ HListView {
|
|||
roleName: "userId"
|
||||
value: userId
|
||||
}
|
||||
|
||||
sorters: FilterSorter {
|
||||
ValueFilter { roleName: "name"; value: "Invites" }
|
||||
ValueFilter { roleName: "name"; value: "Rooms" }
|
||||
ValueFilter { roleName: "name"; value: "Left" }
|
||||
}
|
||||
}
|
||||
|
||||
delegate: RoomCategoryDelegate {}
|
||||
|
|
Loading…
Reference in New Issue
Block a user