Remove superfluous HTileDelegate, use HTile

This commit is contained in:
miruka 2020-05-14 19:30:34 -04:00
parent ad7bce657c
commit e147b87d1b
3 changed files with 2 additions and 26 deletions

View File

@ -1,24 +0,0 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import ".."
HTile {
id: tile
topPadding: padded ? spacing / (compact ? 4 : 2) : 0
bottomPadding: topPadding
// onLeftClicked: {
// view.highlightRangeMode = ListView.NoHighlightRange
// view.highlightMoveDuration = 0
// activated()
// view.highlightRangeMode = ListView.ApplyRange
// view.highlightMoveDuration = theme.animationDuration
// }
signal activated()
property HListView view: ListView.view
}

View File

@ -7,7 +7,7 @@ import ".."
import "../Base"
import "../Base/HTile"
HTileDelegate {
HTile {
id: room
backgroundColor: theme.mainPane.listView.room.background
leftPadding: theme.spacing * 2

View File

@ -6,7 +6,7 @@ import "../../../Base"
import "../../../Base/HTile"
import "../../../Popups"
HTileDelegate {
HTile {
id: member
backgroundColor: theme.chat.roomPane.listView.member.background
contentOpacity: