mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Create a component to see the choosed image for debugging purpose
This commit is contained in:
parent
e58cd8f363
commit
d9662d81e0
@ -43,11 +43,21 @@ Item
|
|||||||
onResultFileChanged:
|
onResultFileChanged:
|
||||||
{
|
{
|
||||||
console.log("Result file changed! " , resultFile)
|
console.log("Result file changed! " , resultFile)
|
||||||
|
newAvatar.source = resultFile
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Image
|
||||||
|
{
|
||||||
|
id: newAvatar
|
||||||
|
height: colorHash.height
|
||||||
|
width: colorHash.height
|
||||||
|
fillMode: Image.PreserveAspectFit
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
ColorHash
|
ColorHash
|
||||||
{
|
{
|
||||||
id: colorHash
|
id: colorHash
|
||||||
|
Loading…
Reference in New Issue
Block a user