Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F113739
D140.1732488835.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D140.1732488835.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 2:53 PM (10 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39885
Default Alt Text
D140.1732488835.diff (3 KB)
Attached To
Mode
D140: Remove sourceSize from avatar items
Attached
Detach File
Event Timeline
Log In to Comment