QRegularExpression: Fix warnings about deprecated tr()-function.
Change-Id: I2325bcab9bb80e5507f53887b282a859d0fdb58c Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
parent
bd86c4d089
commit
81c53721d0
@ -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");
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user