Don't reset the bidi level on spaces

Fixes a regression introduced with the update to the bidi
algorithm.

Task-number: QTBUG-69633
Change-Id: I7eac45ed3ffb41f89ea3f793eedcfb6fcdace871
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
bb10
Lars Knoll 2018-08-10 14:54:57 +02:00
parent 1702ae24b3
commit 055ff7a8a4
1 changed files with 0 additions and 1 deletions

View File

@ -2077,7 +2077,6 @@ void QTextEngine::itemize() const
case QChar::Nbsp:
if (option.flags() & QTextOption::ShowTabsAndSpaces) {
analysis->flags = QScriptAnalysis::Space;
analysis->bidiLevel = bidi.baseLevel;
break;
}
Q_FALLTHROUGH();