Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QDeclarativeImageProvider::requestPixmap called twice when using Image with cache property set to false

$
0
0
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 ?

Viewing all articles
Browse latest Browse all 4972

Trending Articles