Revert "Speed up QTextEngine::resolveAdditionalFormats" v4.8.3
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Thu, 6 Sep 2012 08:50:43 +0000 (10:50 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 7 Sep 2012 12:29:58 +0000 (14:29 +0200)
commit2df3a87d1013c38e9aa8d90b6f2a5552bf88aaf4
treee168afa319023d6bb50e1d51a9c5946d8185e9d9
parentc7d5071afc6c76925c90ff35041dc4eb86511271
Revert "Speed up QTextEngine::resolveAdditionalFormats"

This reverts commit 49fbb6e14af78f751fa114c3cf986aaa607d7408 which
introduced crashes e.g. in Qt Creator. Since the original
change was an optimization, it is reverted in the Qt 4.8 branch
since stability is the main priority there. The crash has been
fixed for the corresponding Qt 5 commit.

It would be an option to recommit the optimization and the
crash fix to a future minor release of Qt 4.

Task-number: QTBUG-27140
Change-Id: I9dc959ea252fe55a22fd90f333ccb335b3ef1311
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/gui/text/qtextengine.cpp