mirror of https://github.com/status-im/qzxing.git
fixed the refresh of the generated image from Encode procedure (disabled image caching)
This commit is contained in:
parent
cc0cd49996
commit
f8e1574b6c
|
@ -23,6 +23,7 @@ Rectangle {
|
|||
onClicked: {
|
||||
qzxing.encodeData(inputField.text)
|
||||
inputField.text = '';
|
||||
resultImage.source = "";
|
||||
resultImage.source = "image://QZXing/latestEncoded";
|
||||
}
|
||||
}
|
||||
|
@ -34,10 +35,12 @@ Rectangle {
|
|||
anchors.right: parent.right
|
||||
anchors.margins: 10
|
||||
title: "Result barcode image"
|
||||
clip: true
|
||||
|
||||
Image{
|
||||
id:resultImage
|
||||
anchors.centerIn: parent
|
||||
cache: false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue