forked from qt-creator/qt-creator
VcsPlugins: Use multi-arg for strings
Change-Id: I8c1c62e3d2f98781ff1468b44ad11640b873695d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user