aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-02-10 10:34:35 +0100
committerFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-02-10 10:34:35 +0100
commit628c5e571abb3715f404ca46a9df82c4f97873a0 (patch)
treed7ff2dabba16738b12a04d3a1e535147a6de207b
parentda6360b85d311d94b8d19126286404c0cc8c76fe (diff)
parentaebdf4649934e65bdab94d799da5afb2da145a37 (diff)
Merge remote-tracking branch 'origin/5.4.1' into 5.4
-rw-r--r--dist/changes-5.4.150
-rw-r--r--src/quick/items/qquicktext.cpp2
2 files changed, 51 insertions, 1 deletions
diff --git a/dist/changes-5.4.1 b/dist/changes-5.4.1
new file mode 100644
index 0000000000..c66f7e651f
--- /dev/null
+++ b/dist/changes-5.4.1
@@ -0,0 +1,50 @@
+Qt 5.4.1 is a bug-fix release. It maintains both forward and backward
+compatibility (source and binary) with Qt 5.4.0.
+
+For more details, refer to the online documentation included in this
+distribution. The documentation is also available online:
+
+ http://doc.qt.io/qt-5.4
+
+The Qt version 5.4 series is binary compatible with the 5.3.x series.
+Applications compiled for 5.3 will continue to run with 5.4.
+
+Some of the changes listed in this file include issue tracking numbers
+corresponding to tasks in the Qt Bug Tracker:
+
+ http://bugreports.qt.io/
+
+Each of these identifiers can be entered in the bug tracker to obtain more
+information about a particular change.
+
+****************************************************************************
+* Library *
+****************************************************************************
+
+
+Qt Quick
+--------
+
+ - [QTBUG-42148] Fixed uncommon artifacts in rendering of distance field
+ glyphs.
+ - [QTBUG-43063] Setting item as its own parent should error out instead of
+ hanging.
+ - [QTBUG-43104] Add retina support in AnimatedImage.
+ - [QTBUG-42677] Add input method support to QQuickWidget.
+ - [QTBUG-42050] Fix Text alignment when lineHeight is set.
+
+QtQml
+-----
+
+ - [QTBUG-42831] Fix inspecting objects in QML/JS console in different
+ frames.
+ - Fixed invalidly opportunistic truncating of non-integer values for
+ additions/subtractions/multiplications in JavaScript and binding
+ expressions.
+ - [QTBUG-38011] Fix JavaScript Date parsing to correctly accept RC2822
+ dates.
+
+ - Windows:
+ * [QTBUG-43171] V4 JIT was re-enabled after it was disabled by mistake
+ in 5.4.0.
+
diff --git a/src/quick/items/qquicktext.cpp b/src/quick/items/qquicktext.cpp
index bff38879cf..03b656cbb2 100644
--- a/src/quick/items/qquicktext.cpp
+++ b/src/quick/items/qquicktext.cpp
@@ -2737,7 +2737,7 @@ void QQuickText::invalidateFontCaches()
{
Q_D(QQuickText);
- if (d->richText && d->extra->doc != 0) {
+ if (d->richText && d->extra.isAllocated() && d->extra->doc != 0) {
QTextBlock block;
for (block = d->extra->doc->firstBlock(); block.isValid(); block = block.next()) {
if (block.layout() != 0 && block.layout()->engine() != 0)