diff options
Diffstat (limited to 'src/bbcode.cpp')
| -rw-r--r-- | src/bbcode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bbcode.cpp b/src/bbcode.cpp index 56369538..3475f1b2 100644 --- a/src/bbcode.cpp +++ b/src/bbcode.cpp @@ -88,7 +88,7 @@ public: return temp.replace(tagIter->second.first, QString("<font style=\"color: #%1;\">%2</font>").arg(color, content));
}
} else {
- qWarning("don't know how to deal with tag %s", qPrintable(tagName));
+ qWarning("don't know how to deal with tag %s", qUtf8Printable(tagName));
}
} else {
if (tagName == "*") {
@@ -100,7 +100,7 @@ public: // expression doesn't match. either the input string is invalid
// or the expression is
qWarning("%s doesn't match the expression for %s",
- temp.toUtf8().constData(), tagName.toUtf8().constData());
+ qUtf8Printable(temp), qUtf8Printable(tagName));
length = 0;
return QString();
}
|
