summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Kudryavtsev <a.kudryavtsev@netris.ru>2015-12-17 14:25:47 +0300
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-12-17 12:11:16 +0000
commitd1461c8429c7b6f9e9442f319d5a49b7e7a5b67d (patch)
tree9aa123b4360db00c4a99fe4fd89c9c67dc7ce0c0
parentdfb172f7bdcfc3c723e9506b3a54b5fc9e73dc6f (diff)
QQuickTextLine: set lineOffset to zero in ctor5.5
Change-Id: Ie6b085157cebaf06750a30bc050b6bed0c7f6018 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
-rw-r--r--src/quick/items/qquicktext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquicktext.cpp b/src/quick/items/qquicktext.cpp
index f848d0baee..3129bda7cc 100644
--- a/src/quick/items/qquicktext.cpp
+++ b/src/quick/items/qquicktext.cpp
@@ -523,7 +523,7 @@ void QQuickTextPrivate::updateSize()
}
QQuickTextLine::QQuickTextLine()
- : QObject(), m_line(0), m_height(0)
+ : QObject(), m_line(0), m_height(0), m_lineOffset(0)
{
}