summaryrefslogtreecommitdiff
path: root/src/bbcode.cpp
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-05-03 21:32:33 -0500
committerLostDragonist <lost.dragonist@gmail.com>2019-05-03 21:32:33 -0500
commit179a73857125ee604f42b0d5c2d765183c86d2c7 (patch)
treeb9b3f9d62bd5640de839d150a53ab8ef119dab9c /src/bbcode.cpp
parente2b799bd6b5cfd51969fefd1dab5e5b1b7e5f81c (diff)
parent907c5468424b48774f5da2a6b5f96f26590987b0 (diff)
Merge pull request #695 from ModOrganizer2/Develop
Stage for Release 2.2.0
Diffstat (limited to 'src/bbcode.cpp')
-rw-r--r--src/bbcode.cpp4
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();
}