mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Use QString::rightRef() as suggested by clazy
This commit is contained in:
parent
15baa93640
commit
327c22bc3b
|
@ -1122,7 +1122,7 @@ QString KStandardItemListWidget::elideRightKeepExtension(const QString &text, in
|
|||
QString ret = m_customizedFontMetrics.elidedText(text.chopped(extensionLength),
|
||||
Qt::ElideRight,
|
||||
elidingWidth - extensionWidth);
|
||||
ret.append(text.right(extensionLength));
|
||||
ret.append(text.rightRef(extensionLength));
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue