I am using QtQuick 1.1 and I have a QPixmap provider called by an Image element with cache property set to false:
Image {
id: image
cache: false
asynchronous: true
anchors.top: parent.top
source: "image://pageprovider/"+currentIndex
}
The problem is that when currentIndex changes requestPixmap() is called twice instead of once. Is there a way to remove the second call ?
↧