src/qt3support/text/q3textedit.cpp
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
--- a/src/qt3support/text/q3textedit.cpp	Mon Jun 21 22:38:13 2010 +0100
+++ b/src/qt3support/text/q3textedit.cpp	Thu Jul 22 16:41:55 2010 +0100
@@ -6238,7 +6238,7 @@
                         } 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;