diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2011-03-16 12:59:46 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-03-22 14:41:13 (GMT) |
commit | d6a3821f9e04e08c227136c17c29d2684458d846 (patch) | |
tree | 78d8777565bb93e2d0311e91a3e31b48f613fe2b /src | |
parent | 7e36013828de19bcb3256c38ac29bcf9abdcc05a (diff) | |
download | Qt-d6a3821f9e04e08c227136c17c29d2684458d846.zip Qt-d6a3821f9e04e08c227136c17c29d2684458d846.tar.gz Qt-d6a3821f9e04e08c227136c17c29d2684458d846.tar.bz2 |
Fix warning about copy constructor not initialising base explicitly
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/image/qvolatileimagedata.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/image/qvolatileimagedata.cpp b/src/gui/image/qvolatileimagedata.cpp index 51b5995..d7b964c 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 |