mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-21 09:20:13 +00:00
Merge branch 'Applications/17.08'
This commit is contained in:
commit
f9bbbd82f4
|
@ -101,7 +101,7 @@ void KStandardItemListGroupHeader::updateCache()
|
|||
const qreal maxWidth = size().width() - 4 * styleOption().padding;
|
||||
|
||||
if (role() == "rating") {
|
||||
m_text = QString(); // krazy:exlude=nullstrassign
|
||||
m_text.setText(QString());
|
||||
|
||||
const qreal height = styleOption().fontMetrics.ascent();
|
||||
const QSizeF pixmapSize(qMin(height * 5, maxWidth), height);
|
||||
|
|
Loading…
Reference in a new issue