Mod some qWarning add QObject::tr

This commit is contained in:
Simon De Backer
2020-09-24 22:39:11 +02:00
parent 3b9ba6a261
commit 30b8205f82
6 changed files with 159 additions and 128 deletions

View File

@@ -104,7 +104,7 @@ void TitleBlockTemplateLocation::fromString(const QString &loc_str)
QRegularExpression name_from_url("//*(?<name>.*)");
if (!name_from_url.isValid())
{
qWarning() <<"this is an error in the code"
qWarning() <<QObject::tr("this is an error in the code")
<< name_from_url.errorString()
<< name_from_url.patternErrorOffset();
return;