VcsPlugins: Use multi-arg for strings

Change-Id: I8c1c62e3d2f98781ff1468b44ad11640b873695d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2023-01-11 00:03:31 +01:00
parent db28ee6ec5
commit c6471341f6
4 changed files with 10 additions and 14 deletions

View File

@@ -588,8 +588,7 @@ void SideDiffEditorWidget::paintEvent(QPaintEvent *e)
if (!fileInfo.fileName.isEmpty()) {
const QString fileNameText = fileInfo.typeInfo.isEmpty()
? fileInfo.fileName
: tr("[%1] %2").arg(fileInfo.typeInfo)
.arg(fileInfo.fileName);
: tr("[%1] %2").arg(fileInfo.typeInfo, fileInfo.fileName);
paintSeparator(painter, m_fileLineForeground,
fileNameText, currentBlock, top);
}