summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextlist.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-03-26 15:27:59 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-03-26 15:27:59 (GMT)
commit20ec83dc4c19436092262ab46615c19c9c8b20e7 (patch)
tree928af012d381bc2ce37edf93a09346955184215d /src/gui/text/qtextlist.cpp
parent3ca156558dad24f5ac0f9d0e35a558c5b8052c81 (diff)
parent6bcf2ca6645409ffa1aaadd1bd302c6e86b5b028 (diff)
downloadQt-20ec83dc4c19436092262ab46615c19c9c8b20e7.zip
Qt-20ec83dc4c19436092262ab46615c19c9c8b20e7.tar.gz
Qt-20ec83dc4c19436092262ab46615c19c9c8b20e7.tar.bz2
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/gui/text/qtextlist.cpp')
-rw-r--r--src/gui/text/qtextlist.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/text/qtextlist.cpp b/src/gui/text/qtextlist.cpp
index e305027..d1a3361 100644
--- a/src/gui/text/qtextlist.cpp
+++ b/src/gui/text/qtextlist.cpp
@@ -50,6 +50,11 @@ QT_BEGIN_NAMESPACE
class QTextListPrivate : public QTextBlockGroupPrivate
{
+public:
+ QTextListPrivate(QTextDocument *doc)
+ : QTextBlockGroupPrivate(doc)
+ {
+ }
};
/*!
@@ -111,7 +116,7 @@ class QTextListPrivate : public QTextBlockGroupPrivate
/*! \internal
*/
QTextList::QTextList(QTextDocument *doc)
- : QTextBlockGroup(*new QTextListPrivate, doc)
+ : QTextBlockGroup(*new QTextListPrivate(doc), doc)
{
}