summaryrefslogtreecommitdiffstats
path: root/src/graphicsitems/qximagebase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsitems/qximagebase.cpp')
-rw-r--r--src/graphicsitems/qximagebase.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphicsitems/qximagebase.cpp b/src/graphicsitems/qximagebase.cpp
index 8bbae28..e826f5c 100644
--- a/src/graphicsitems/qximagebase.cpp
+++ b/src/graphicsitems/qximagebase.cpp
@@ -203,8 +203,10 @@ void QxImageBase::requestFinished()
0,
this,
SLOT(textureStatusChanged(int)));
- if (d->texture->status() == TextureReference::Uploaded)
+
+ if (d->texture->status() == TextureReference::Uploaded) {
pixmapChange();
+ }
} else {
d->texture = tm->requestUploadedTexture(d->pix.pixmap().toImage(), TextureManager::SynchronousUploadHint);
pixmapChange();