Change-Id: I2325bcab9bb80e5507f53887b282a859d0fdb58c
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
{
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");
}
/*!