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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphicsitems/qximagebase.cpp b/src/graphicsitems/qximagebase.cpp
index 81ef269..e03a164 100644
--- a/src/graphicsitems/qximagebase.cpp
+++ b/src/graphicsitems/qximagebase.cpp
@@ -238,6 +238,7 @@ void QxImageBase::markDirty(int flag)
d->dirty |= flag;
if (!d->connected) {
connect(QSGContext::current, SIGNAL(aboutToRenderNextFrame()), this, SLOT(prepare()));
+ d->connected = true;
}
}