summaryrefslogtreecommitdiffstats
path: root/src/detailedentryitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/detailedentryitem.cpp')
-rw-r--r--src/detailedentryitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/detailedentryitem.cpp b/src/detailedentryitem.cpp
index 51455a1..bd2c565 100644
--- a/src/detailedentryitem.cpp
+++ b/src/detailedentryitem.cpp
@@ -116,8 +116,8 @@ TQColor DetailedEntryItem::backgroundColor(int column_) {
if(t > ENTRY_MAX_MINUTES_MESSAGE) {
return EntryItem::backgroundColor(column_);
}
- return blendColors(lv->tqcolorGroup().highlight(),
- lv->tqcolorGroup().base(),
+ return blendColors(lv->colorGroup().highlight(),
+ lv->colorGroup().base(),
80 + 20*t/ENTRY_MAX_MINUTES_MESSAGE /* percent */);
// no more than 20% of highlight color
}