author | leseb <leseb> | 2002-06-14 19:15:16 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-06-14 19:15:16 (UTC) |
commit | 251404b1ad7c5712270233821699ab8492fe76ac (patch) (unidiff) | |
tree | b78e72bd4d420e95951eca8b5f5015cf405f2f9c /noncore/graphics/drawpad/thumbnailview.cpp | |
parent | 0aa515c2f050a85dbaf7b20b7a3c3fc12a213ed1 (diff) | |
download | opie-251404b1ad7c5712270233821699ab8492fe76ac.zip opie-251404b1ad7c5712270233821699ab8492fe76ac.tar.gz opie-251404b1ad7c5712270233821699ab8492fe76ac.tar.bz2 |
Minor fixes
Diffstat (limited to 'noncore/graphics/drawpad/thumbnailview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/thumbnailview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/graphics/drawpad/thumbnailview.cpp b/noncore/graphics/drawpad/thumbnailview.cpp index 81ec79f..14092bf 100644 --- a/noncore/graphics/drawpad/thumbnailview.cpp +++ b/noncore/graphics/drawpad/thumbnailview.cpp | |||
@@ -63,15 +63,15 @@ PageListBoxItem::PageListBoxItem(Page* page, QListBox* parent) | |||
63 | 63 | ||
64 | QColor baseColor = parent->colorGroup().base(); | 64 | QColor baseColor = parent->colorGroup().base(); |
65 | int h, s, v; | 65 | int h, s, v; |
66 | baseColor.hsv(&h, &s, &v); | 66 | baseColor.hsv(&h, &s, &v); |
67 | 67 | ||
68 | if (v > 128) { | 68 | if (v > 128) { |
69 | m_alternateColor = baseColor.dark(106); | 69 | m_alternateColor = baseColor.dark(115); |
70 | } else if (baseColor != Qt::black) { | 70 | } else if (baseColor != Qt::black) { |
71 | m_alternateColor = baseColor.light(110); | 71 | m_alternateColor = baseColor.light(115); |
72 | } else { | 72 | } else { |
73 | m_alternateColor = QColor(32, 32, 32); | 73 | m_alternateColor = QColor(32, 32, 32); |
74 | } | 74 | } |
75 | } | 75 | } |
76 | 76 | ||
77 | PageListBoxItem::~PageListBoxItem() | 77 | PageListBoxItem::~PageListBoxItem() |