summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qvolatileimagedata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qvolatileimagedata.cpp')
-rw-r--r--src/gui/image/qvolatileimagedata.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/image/qvolatileimagedata.cpp b/src/gui/image/qvolatileimagedata.cpp
index 67d1d1d..a2a7f71 100644
--- a/src/gui/image/qvolatileimagedata.cpp
+++ b/src/gui/image/qvolatileimagedata.cpp
@@ -68,6 +68,7 @@ QVolatileImageData::QVolatileImageData(void *, void *)
}
QVolatileImageData::QVolatileImageData(const QVolatileImageData &other)
+ : QSharedData()
{
image = other.image;
// The detach is not mandatory here but we do it nonetheless in order to