Page MenuHomePhorge

D140.1732488835.diff
No OneTemporary

Size
3 KB
Referenced Files
None
Subscribers
None

D140.1732488835.diff

diff --git a/src/contents/ui/RoomListViewItemDelegate.qml b/src/contents/ui/RoomListViewItemDelegate.qml
--- a/src/contents/ui/RoomListViewItemDelegate.qml
+++ b/src/contents/ui/RoomListViewItemDelegate.qml
@@ -45,8 +45,6 @@
contentItem: RowLayout {
Kazv.AvatarAdapter {
- sourceSize.width: iconSize
- sourceSize.height: iconSize
source: item.roomOrHeroAvatarMxcUri ? matrixSdk.mxcUriToHttp(item.roomOrHeroAvatarMxcUri) : ''
name: Helpers.roomAvatarPlaceholderName(item)
}
diff --git a/src/contents/ui/RoomMemberListViewItemDelegate.qml b/src/contents/ui/RoomMemberListViewItemDelegate.qml
--- a/src/contents/ui/RoomMemberListViewItemDelegate.qml
+++ b/src/contents/ui/RoomMemberListViewItemDelegate.qml
@@ -23,8 +23,6 @@
contentItem: RowLayout {
Kazv.AvatarAdapter {
- sourceSize.width: iconSize
- sourceSize.height: iconSize
source: member.avatarMxcUri ? matrixSdk.mxcUriToHttp(member.avatarMxcUri) : ''
name: displayName
Layout.preferredWidth: iconSize
diff --git a/src/contents/ui/UserPage.qml b/src/contents/ui/UserPage.qml
--- a/src/contents/ui/UserPage.qml
+++ b/src/contents/ui/UserPage.qml
@@ -145,8 +145,6 @@
Layout.preferredHeight: Kirigami.Units.iconSizes.enormous
Layout.preferredWidth: Kirigami.Units.iconSizes.enormous
source: userPage.user.avatarMxcUri ? matrixSdk.mxcUriToHttp(userPage.user.avatarMxcUri) : ''
- sourceSize.width: Kirigami.Units.iconSizes.enormous
- sourceSize.height: Kirigami.Units.iconSizes.enormous
name: nameProvider.name
}
diff --git a/src/contents/ui/event-types/Simple.qml b/src/contents/ui/event-types/Simple.qml
--- a/src/contents/ui/event-types/Simple.qml
+++ b/src/contents/ui/event-types/Simple.qml
@@ -60,8 +60,6 @@
id: avatar
objectName: 'senderAvatar'
Layout.alignment: Qt.AlignTop
- sourceSize.width: iconSize
- sourceSize.height: iconSize
source: sender.avatarMxcUri ? matrixSdk.mxcUriToHttp(sender.avatarMxcUri) : ''
name: senderNickname
visible: !compactMode && !shouldCollapseSender
@@ -90,8 +88,6 @@
id: avatarCompact
Layout.preferredWidth: Kirigami.Units.iconSizes.sizeForLabels
Layout.preferredHeight: Kirigami.Units.iconSizes.sizeForLabels
- sourceSize.width: Kirigami.Units.iconSizes.sizeForLabels
- sourceSize.height: Kirigami.Units.iconSizes.sizeForLabels
source: sender.avatarMxcUri ? matrixSdk.mxcUriToHttp(sender.avatarMxcUri) : ''
name: senderNickname
visible: compactMode
diff --git a/src/contents/ui/room-settings/RoomSettingsPage.qml b/src/contents/ui/room-settings/RoomSettingsPage.qml
--- a/src/contents/ui/room-settings/RoomSettingsPage.qml
+++ b/src/contents/ui/room-settings/RoomSettingsPage.qml
@@ -115,8 +115,6 @@
Layout.preferredWidth: Kirigami.Units.iconSizes.huge
source: member.avatarMxcUri ?
matrixSdk.mxcUriToHttp(member.avatarMxcUri) : ''
- sourceSize.width: Kirigami.Units.iconSizes.huge
- sourceSize.height: Kirigami.Units.iconSizes.huge
name: nameProvider.name
}
}
diff --git a/src/contents/ui/settings/ProfileSettings.qml b/src/contents/ui/settings/ProfileSettings.qml
--- a/src/contents/ui/settings/ProfileSettings.qml
+++ b/src/contents/ui/settings/ProfileSettings.qml
@@ -26,8 +26,6 @@
Layout.preferredHeight: Kirigami.Units.iconSizes.enormous
Layout.preferredWidth: Kirigami.Units.iconSizes.enormous
source: profileSettings.avatarUrl ? matrixSdk.mxcUriToHttp(profileSettings.avatarUrl) : ''
- sourceSize.width: Kirigami.Units.iconSizes.enormous
- sourceSize.height: Kirigami.Units.iconSizes.enormous
}
property var saveAvatarUrl: Kazv.AsyncHandler {

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 2:53 PM (13 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39885
Default Alt Text
D140.1732488835.diff (3 KB)

Event Timeline