Remove layout attached properties

They don't do anything

(cherry picked from commit fbb2afdb49)
This commit is contained in:
Carl Schwan
2024-11-18 09:07:43 +01:00
committed by Joshua Goins
parent 58b32dd50f
commit 1018fe5d3f

View File

@@ -106,8 +106,6 @@ Kirigami.Page {
}
leading: KirigamiComponents.Avatar {
id: avatar
Layout.alignment: Qt.AlignHCenter
Layout.topMargin: Kirigami.Units.gridUnit
name: delegate.text
// Note: User::avatarUrl does not set user_id, and thus cannot be used directly here. Hence the makeMediaUrl.
source: delegate.connection.localUser.avatarUrl.toString().length > 0 ? delegate.connection.makeMediaUrl(delegate.connection.localUser.avatarUrl) : ""