Update TextureCache to work with ResourceCache updates

This commit is contained in:
Ryan Huffman 2015-08-19 12:17:36 -07:00
parent e1f8b6700c
commit 330a6bb279

View file

@ -223,7 +223,7 @@ void NetworkTexture::downloadFinished(const QByteArray& data) {
}
void NetworkTexture::loadContent(const QByteArray& content) {
QThreadPool::globalInstance()->start(new ImageReader(_self, _type, content));
QThreadPool::globalInstance()->start(new ImageReader(_self, _type, content, _url));
}
ImageReader::ImageReader(const QWeakPointer<Resource>& texture, TextureType type, const QByteArray& data,