Fully qualify Tr::tr calls for the cases where lupdate needs this

Change-Id: Icc5757376b028d9e5602751d9d8ea0a850970ebb
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2023-01-17 14:30:58 +01:00
parent 015b1ee53c
commit 0a67f912eb
3 changed files with 36 additions and 35 deletions

View File

@@ -1078,7 +1078,7 @@ TextEditor::BaseTextEditor *jsonEditor()
return;
auto mark = new TextMark(Utils::FilePath(),
lineColumn->line,
{Tr::tr("JSON Error"), jsonMarkId});
{::LanguageClient::Tr::tr("JSON Error"), jsonMarkId});
mark->setLineAnnotation(error.errorString());
mark->setColor(Utils::Theme::CodeModel_Error_TextMarkColor);
mark->setIcon(Utils::Icons::CODEMODEL_ERROR.icon());