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



  • 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 ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.