summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-05-21 11:20:42 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-21 13:00:38 +0200
commit81c53721d06e134ce972880a91951ec9d2e48184 (patch)
tree04a8cafc5619baf1f35facba196490fd84dde470 /src
parentbd86c4d089e442dbbef55052c9511b77186221de (diff)
QRegularExpression: Fix warnings about deprecated tr()-function.
Change-Id: I2325bcab9bb80e5507f53887b282a859d0fdb58c Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qregularexpression.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qregularexpression.cpp b/src/corelib/tools/qregularexpression.cpp
index ff423901e8..74349f62a5 100644
--- a/src/corelib/tools/qregularexpression.cpp
+++ b/src/corelib/tools/qregularexpression.cpp
@@ -1500,8 +1500,8 @@ QString QRegularExpression::errorString() const
{
d.data()->compilePattern();
if (d->errorString)
- return QCoreApplication::translate("QRegularExpression", d->errorString, 0, QCoreApplication::UnicodeUTF8);
- return QCoreApplication::translate("QRegularExpression", "no error", 0, QCoreApplication::UnicodeUTF8);
+ return QCoreApplication::translate("QRegularExpression", d->errorString);
+ return QCoreApplication::translate("QRegularExpression", "no error");
}
/*!