summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextobject_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qtextobject_p.h')
-rw-r--r--src/gui/text/qtextobject_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/text/qtextobject_p.h b/src/gui/text/qtextobject_p.h
index e862b30a1..0b785479e 100644
--- a/src/gui/text/qtextobject_p.h
+++ b/src/gui/text/qtextobject_p.h
@@ -94,7 +94,8 @@ class QTextFramePrivate : public QTextObjectPrivate
Q_DECLARE_PUBLIC(QTextFrame)
public:
QTextFramePrivate(QTextDocument *doc)
- : QTextObjectPrivate(doc)
+ : QTextObjectPrivate(doc), fragment_start(0), fragment_end(0),
+ parentFrame(0), layoutData(0)
{
}
virtual void fragmentAdded(const QChar &type, uint fragment);