From 475b07793d8d6e99edbece39491afe0f567e0351 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 26 Jun 2020 07:20:24 -0400 Subject: [PATCH] =?UTF-8?q?Rename=20Account/Room=20=E2=86=92=20AccountDele?= =?UTF-8?q?gate/RoomDelegate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gui/MainPane/AccountBar.qml | 2 +- src/gui/MainPane/{Account.qml => AccountDelegate.qml} | 0 src/gui/MainPane/{Room.qml => RoomDelegate.qml} | 0 src/gui/MainPane/RoomList.qml | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/gui/MainPane/{Account.qml => AccountDelegate.qml} (100%) rename src/gui/MainPane/{Room.qml => RoomDelegate.qml} (100%) diff --git a/src/gui/MainPane/AccountBar.qml b/src/gui/MainPane/AccountBar.qml index 88fc80b4..cdbc74d9 100644 --- a/src/gui/MainPane/AccountBar.qml +++ b/src/gui/MainPane/AccountBar.qml @@ -38,7 +38,7 @@ Rectangle { model: ModelStore.get("matching_accounts") - delegate: Account { + delegate: AccountDelegate { width: accountList.cellWidth height: accountList.cellHeight padded: false diff --git a/src/gui/MainPane/Account.qml b/src/gui/MainPane/AccountDelegate.qml similarity index 100% rename from src/gui/MainPane/Account.qml rename to src/gui/MainPane/AccountDelegate.qml diff --git a/src/gui/MainPane/Room.qml b/src/gui/MainPane/RoomDelegate.qml similarity index 100% rename from src/gui/MainPane/Room.qml rename to src/gui/MainPane/RoomDelegate.qml diff --git a/src/gui/MainPane/RoomList.qml b/src/gui/MainPane/RoomList.qml index ffc3e3f1..081aa9a7 100644 --- a/src/gui/MainPane/RoomList.qml +++ b/src/gui/MainPane/RoomList.qml @@ -15,7 +15,7 @@ HListView { DelegateChoice { roleValue: "Account" - Account { + AccountDelegate { width: roomList.width leftPadding: theme.spacing rightPadding: 0 // the right buttons have padding @@ -38,7 +38,7 @@ HListView { DelegateChoice { roleValue: "Room" - Room { + RoomDelegate { width: roomList.width onLeftClicked: showItemAtIndex(model.index) }