diff --git a/src/gui/Base/HTile/HTileDelegate.qml b/src/gui/Base/HTile/HTileDelegate.qml deleted file mode 100644 index 6857b126..00000000 --- a/src/gui/Base/HTile/HTileDelegate.qml +++ /dev/null @@ -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 -} diff --git a/src/gui/MainPane/Room.qml b/src/gui/MainPane/Room.qml index ad5c8c8f..a6eff71b 100644 --- a/src/gui/MainPane/Room.qml +++ b/src/gui/MainPane/Room.qml @@ -7,7 +7,7 @@ import ".." import "../Base" import "../Base/HTile" -HTileDelegate { +HTile { id: room backgroundColor: theme.mainPane.listView.room.background leftPadding: theme.spacing * 2 diff --git a/src/gui/Pages/Chat/RoomPane/MemberDelegate.qml b/src/gui/Pages/Chat/RoomPane/MemberDelegate.qml index d3cd3733..351c572d 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberDelegate.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberDelegate.qml @@ -6,7 +6,7 @@ import "../../../Base" import "../../../Base/HTile" import "../../../Popups" -HTileDelegate { +HTile { id: member backgroundColor: theme.chat.roomPane.listView.member.background contentOpacity: