summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpicture.cpp
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@digia.com>2009-06-16 08:00:26 (GMT)
committerJanne Koskinen <janne.p.koskinen@digia.com>2009-06-16 08:00:26 (GMT)
commit915749c9a2e3a00d26f69077ab35f2e1e4bb23dd (patch)
treeb1a71032a1a244ec089abb90b99521061b939b8a /src/gui/image/qpicture.cpp
parent4175bad3c2351c3aad0c2d49653b41aaa0dbc02c (diff)
parent9fbf1387b04ec1dab0772956457fdbf1c0e508f2 (diff)
downloadQt-915749c9a2e3a00d26f69077ab35f2e1e4bb23dd.zip
Qt-915749c9a2e3a00d26f69077ab35f2e1e4bb23dd.tar.gz
Qt-915749c9a2e3a00d26f69077ab35f2e1e4bb23dd.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
Diffstat (limited to 'src/gui/image/qpicture.cpp')
-rw-r--r--src/gui/image/qpicture.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/image/qpicture.cpp b/src/gui/image/qpicture.cpp
index 8528173..a16305e 100644
--- a/src/gui/image/qpicture.cpp
+++ b/src/gui/image/qpicture.cpp
@@ -1041,6 +1041,18 @@ QPicture& QPicture::operator=(const QPicture &p)
/*!
\internal
+ Constructs a QPicturePrivate
+*/
+QPicturePrivate::QPicturePrivate()
+ : in_memory_only(false),
+ q_ptr(0)
+{
+ ref = 1;
+}
+
+/*!
+ \internal
+
Sets formatOk to false and resets the format version numbers to default
*/