┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemlistwidget.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-10-27 22:34:33 +0200
committerPeter Penz <[email protected]>2011-10-27 22:36:47 +0200
commitf63daef339dde16c7ef598f6fdaa5d2191da4685 (patch)
tree61755265d43aa83bd44ff618bd2332b177cca506 /src/kitemviews/kfileitemlistwidget.cpp
parent528262a6be4ab2ad7e17860a281ea80b90c1605b (diff)
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
Diffstat (limited to 'src/kitemviews/kfileitemlistwidget.cpp')
-rw-r--r--src/kitemviews/kfileitemlistwidget.cpp2
1 files changed, 1 insertions, 1 deletions
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,