Remove unused old model stuff

This commit is contained in:
miruka 2020-05-12 06:11:39 -04:00
parent 4d3c26abd4
commit 45790dc57c
3 changed files with 0 additions and 22 deletions

View File

@ -2,7 +2,6 @@
- add account number binds
- remove `import QtQml.Models 2.12`s
- fix left rooms opacity
- fix escape keybinds (filter rooms, message selection)
- fix python getting stuck when loading large room

View File

@ -1,20 +0,0 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQml.Models 2.12
HFilterModel {
model: sourceModel
acceptItem: item => utils.filterMatches(filter, item[field])
onFilterChanged: refilterAll()
property string field: "id"
property string filter: ""
property ListModel sourceModel
readonly property Connections sourceModelConnections: Connections {
target: sourceModel // model is non-notifiable
onFieldsChanged: if (field in changes) refilterAt(index)
}
}

View File

@ -2,7 +2,6 @@
import QtQuick 2.12
import QtQuick.Layouts 1.12
import QtQml.Models 2.12
import Qt.labs.qmlmodels 1.0
import ".."
import "../Base"