add sourceSize to ProfileThumbnail

This commit is contained in:
John Gibbon 2020-11-08 20:37:52 +01:00
parent 68e2dab715
commit ac9d761742

View file

@ -64,9 +64,11 @@ Item {
Image {
id: singleImage
width: parent.width - Theme.paddingSmall
height: parent.height - Theme.paddingSmall
height: width
anchors.centerIn: parent
source: file.path
sourceSize.width: width
sourceSize.height: height
fillMode: Image.PreserveAspectCrop
autoTransform: true
asynchronous: true