summaryrefslogtreecommitdiff
blob: 60dae8389abf3a7428f38d49f08013b244d0175f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From aaaabf1ea84d9c5ae9cf50a306b79f15f44f5b35 Mon Sep 17 00:00:00 2001
From: Carson Black <uhhadd@gmail.com>
Date: Sat, 19 Sep 2020 12:21:33 -0400
Subject: [PATCH] Revert "Fix: avatar loading"

This reverts commit 338d91be7254099c1ad4c1f475acb6368df2b114, which
introduced a visual regression in the users KCM among other places
that use the Avatar by causing the image to fail to resize according
to the size of the avatar component.
---
 src/controls/Avatar.qml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/controls/Avatar.qml b/src/controls/Avatar.qml
index a4f59448..775e5987 100644
--- a/src/controls/Avatar.qml
+++ b/src/controls/Avatar.qml
@@ -133,9 +133,6 @@ QQC2.Control {
             mipmap: true
             smooth: true
 
-            sourceSize.width: avatarRoot.implicitWidth
-            sourceSize.height: avatarRoot.implicitHeight
-
             fillMode: Image.PreserveAspectFit
             anchors.fill: parent
         }
-- 
GitLab