Commit 327c22bc authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Use QString::rightRef() as suggested by clazy

parent 15baa936
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment