From d9662d81e0a1dda82c453403be653483414320ef Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Wed, 12 Jul 2017 16:48:26 +0200 Subject: [PATCH] Create a component to see the choosed image for debugging purpose --- retroshare-qml-app/src/ContactDetails.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/retroshare-qml-app/src/ContactDetails.qml b/retroshare-qml-app/src/ContactDetails.qml index 9ed2fda2b..8289b2905 100644 --- a/retroshare-qml-app/src/ContactDetails.qml +++ b/retroshare-qml-app/src/ContactDetails.qml @@ -43,11 +43,21 @@ Item onResultFileChanged: { console.log("Result file changed! " , resultFile) + newAvatar.source = resultFile } } } + Image + { + id: newAvatar + height: colorHash.height + width: colorHash.height + fillMode: Image.PreserveAspectFit + + } + ColorHash { id: colorHash