From f63daef339dde16c7ef598f6fdaa5d2191da4685 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 27 Oct 2011 22:34:33 +0200 Subject: Fix minor visual issues in the view-engine - Increasing the window-size should not result in increasing the size from previously invisible items - Rename group 'Numerics' to '0 - 9' - Fix "damaged" icons when changing the view-sizes or changing the view-mode --- src/kitemviews/kfileitemlistwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kitemviews/kfileitemlistwidget.cpp') diff --git a/src/kitemviews/kfileitemlistwidget.cpp b/src/kitemviews/kfileitemlistwidget.cpp index f6039b7a5..5f659a1f6 100644 --- a/src/kitemviews/kfileitemlistwidget.cpp +++ b/src/kitemviews/kfileitemlistwidget.cpp @@ -694,7 +694,7 @@ void KFileItemListWidget::updateAdditionalInfoTextColor() // is not used as this might lead to unreadable text for some color schemes. Instead // the text color is slightly mixed with the background color. const QColor c1 = textColor(); - const QColor c2 = styleOption().palette.background().color(); + const QColor c2 = styleOption().palette.base().color(); const int p1 = 70; const int p2 = 100 - p1; m_additionalInfoTextColor = QColor((c1.red() * p1 + c2.red() * p2) / 100, -- cgit v1.3