summaryrefslogtreecommitdiffstats
path: root/src/qt3support/text/q3textedit.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-03-01 11:24:27 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-03-01 11:24:27 (GMT)
commit4cc9d165663728cb08b3269ea88a584410b79b70 (patch)
treed1e1993be1d929a00478be0629d9fec910dd86ca /src/qt3support/text/q3textedit.cpp
parent3a4dc08d08ce0388dd183a24923871e3e03ba531 (diff)
parent049330b4a54836f227a0e179082527a5272e868d (diff)
downloadQt-4cc9d165663728cb08b3269ea88a584410b79b70.zip
Qt-4cc9d165663728cb08b3269ea88a584410b79b70.tar.gz
Qt-4cc9d165663728cb08b3269ea88a584410b79b70.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Diffstat (limited to 'src/qt3support/text/q3textedit.cpp')
-rw-r--r--src/qt3support/text/q3textedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt3support/text/q3textedit.cpp b/src/qt3support/text/q3textedit.cpp
index 7f51bea..d4f75ed 100644
--- a/src/qt3support/text/q3textedit.cpp
+++ b/src/qt3support/text/q3textedit.cpp
@@ -6238,7 +6238,7 @@ void Q3TextEdit::optimParseTags(QString * line, int lineNo, int indexOffset)
} else {
tmp = tagStack.isEmpty() ? 0 : tagStack.pop();
if (!tmp) {
- if (((QLatin1Char('/') + cur->tag) == tag->tag) ||
+ if ((QString(QLatin1Char('/') + cur->tag) == tag->tag) ||
(tag->tag == QLatin1String("/font") && cur->tag.left(4) == QLatin1String("font"))) {
// set up the left and parent of this tag
tag->leftTag = cur;