summaryrefslogtreecommitdiffstats
path: root/src/qt3support
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-02-18 19:52:45 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-02-21 16:15:56 (GMT)
commit5d3eb7a1062744afad06882e9a8f59c84fd4e8b7 (patch)
treee233f5b3cc23645515153185aaa439efa6aad152 /src/qt3support
parent8302f412660410775887c6c524aa87fb67aebde1 (diff)
downloadQt-5d3eb7a1062744afad06882e9a8f59c84fd4e8b7.zip
Qt-5d3eb7a1062744afad06882e9a8f59c84fd4e8b7.tar.gz
Qt-5d3eb7a1062744afad06882e9a8f59c84fd4e8b7.tar.bz2
Compile with QT_USE_FAST_OPERATOR_PLUS
Reviewed-by: Joao
Diffstat (limited to 'src/qt3support')
-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;