Disable mipmaps for avatars

This commit is contained in:
Nicolas Werner 2023-07-04 00:42:35 +02:00
parent 9232e5867a
commit bab5dd9fdb
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -55,8 +55,6 @@ AbstractButton {
anchors.fill: parent anchors.fill: parent
asynchronous: true asynchronous: true
fillMode: avatar.crop ? Image.PreserveAspectCrop : Image.PreserveAspectFit fillMode: avatar.crop ? Image.PreserveAspectCrop : Image.PreserveAspectFit
mipmap: true
smooth: true
source: if (avatar.url.startsWith('image://colorimage')) { source: if (avatar.url.startsWith('image://colorimage')) {
return avatar.url + "&radius=" + (Settings.avatarCircles ? 100 : 25) + ((avatar.crop) ? "" : "&scale"); return avatar.url + "&radius=" + (Settings.avatarCircles ? 100 : 25) + ((avatar.crop) ? "" : "&scale");
} else if (avatar.url.startsWith('image://')) { } else if (avatar.url.startsWith('image://')) {