Initialize variable
authorLars Knoll <lars.knoll@nokia.com>
Fri, 16 Sep 2011 11:47:08 +0000 (13:47 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 16 Sep 2011 13:08:15 +0000 (15:08 +0200)
Change-Id: I2aa261ed85136df33f678a9279f7f9c833c925cd
Reviewed-on: http://codereview.qt-project.org/5088
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>

src/declarative/items/qsgtextedit_p_p.h

index b670baf..326e0a3 100644 (file)
@@ -78,7 +78,7 @@ public:
       textMargin(0.0), lastSelectionStart(0), lastSelectionEnd(0), cursorComponent(0), cursor(0),
       format(QSGTextEdit::AutoText), document(0), wrapMode(QSGTextEdit::NoWrap),
       mouseSelectionMode(QSGTextEdit::SelectCharacters),
-      yoff(0), nodeType(NodeIsNull), texture(0)
+      lineCount(0), yoff(0), nodeType(NodeIsNull), texture(0)
     {
 #ifdef Q_OS_SYMBIAN
         if (QSysInfo::symbianVersion() == QSysInfo::SV_SF_1 || QSysInfo::symbianVersion() == QSysInfo::SV_SF_3) {