When we create textureprovider, initialize it with the texture if we got it
When we create textureprovider, initialize it with the texture if we got it

Change-Id: Ia3ab1a75db947a67c610e664051f73bf84b079c1
Reviewed-on: http://codereview.qt-project.org/5008
Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: Kim M. Kalland <b67eacd09e01580acd46a68a9c22783959f22e54@nokia.com>

crobertd/qtdeclarative,corngood/qtdeclarative,matthewvogt/qtdeclarative,corngood/qtdeclarative,matthewvogt/qtdeclarative,corngood/qtdeclarative,jfaust/qtdeclarative,mgrunditz/qtdeclarative-2d,qmlc/qtdeclarative,qmlc/qtdeclarative,jfaust/qtdeclarative,jfaust/qtdeclarative,corngood/qtdeclarative,matthewvogt/qtdeclarative,crobertd/qtdeclarative,mgrunditz/qtdeclarative-2d,crobertd/qtdeclarative,jfaust/qtdeclarative,mgrunditz/qtdeclarative-2d,crobertd/qtdeclarative,qmlc/qtdeclarative,mgrunditz/qtdeclarative-2d,matthewvogt/qtdeclarative,jfaust/qtdeclarative,matthewvogt/qtdeclarative,matthewvogt/qtdeclarative,corngood/qtdeclarative,mgrunditz/qtdeclarative-2d,crobertd/qtdeclarative,jfaust/qtdeclarative,crobertd/qtdeclarative,jfaust/qtdeclarative,matthewvogt/qtdeclarative,corngood/qtdeclarative,qmlc/qtdeclarative,crobertd/qtdeclarative,qmlc/qtdeclarative,matthewvogt/qtdeclarative,qmlc/qtdeclarative,mgrunditz/qtdeclarative-2d,mgrunditz/qtdeclarative-2d,qmlc/qtdeclarative,corngood/qtdeclarative,qmlc/qtdeclarative