summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/ListView.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/ListView.h')
-rw-r--r--ksysguard/gui/SensorDisplayLib/ListView.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/ListView.h b/ksysguard/gui/SensorDisplayLib/ListView.h
index 61d59e101..1c63d95cb 100644
--- a/ksysguard/gui/SensorDisplayLib/ListView.h
+++ b/ksysguard/gui/SensorDisplayLib/ListView.h
@@ -57,9 +57,9 @@ class PrivateListViewItem : public QListViewItem
public:
PrivateListViewItem(PrivateListView *parent = 0);
- void paintCell(TQPainter *p, const TQColorGroup &, int column, int width, int tqalignment) {
- TQColorGroup cgroup = _parent->tqcolorGroup();
- TQListViewItem::paintCell(p, cgroup, column, width, tqalignment);
+ void paintCell(TQPainter *p, const TQColorGroup &, int column, int width, int alignment) {
+ TQColorGroup cgroup = _parent->colorGroup();
+ TQListViewItem::paintCell(p, cgroup, column, width, alignment);
p->setPen(cgroup.color(TQColorGroup::Link));
p->drawLine(0, height() - 1, width - 1, height() - 1);
}