QRegularExpression: Fix warnings about deprecated tr()-function.

Change-Id: I2325bcab9bb80e5507f53887b282a859d0fdb58c
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
Friedemann Kleint 2012-05-21 11:20:42 +02:00 committed by Qt by Nokia
parent bd86c4d089
commit 81c53721d0

View File

@ -1500,8 +1500,8 @@ QString QRegularExpression::errorString() const
{ {
d.data()->compilePattern(); d.data()->compilePattern();
if (d->errorString) if (d->errorString)
return QCoreApplication::translate("QRegularExpression", d->errorString, 0, QCoreApplication::UnicodeUTF8); return QCoreApplication::translate("QRegularExpression", d->errorString);
return QCoreApplication::translate("QRegularExpression", "no error", 0, QCoreApplication::UnicodeUTF8); return QCoreApplication::translate("QRegularExpression", "no error");
} }
/*! /*!