From 74fae7e68acd91e61bdff6f7703021246a0c1fbc Mon Sep 17 00:00:00 2001 From: drw Date: Mon, 30 Dec 2002 16:24:19 +0000 Subject: Use background color for alternating transaction lines (like todo does now). --- (limited to 'noncore/apps/checkbook') diff --git a/noncore/apps/checkbook/checkbook.cpp b/noncore/apps/checkbook/checkbook.cpp index 7a6b7cc..5fe660c 100644 --- a/noncore/apps/checkbook/checkbook.cpp +++ b/noncore/apps/checkbook/checkbook.cpp @@ -612,7 +612,7 @@ void CBListItem::paintCell( QPainter *p, const QColorGroup &cg, int column, int p->setBrushOrigin( -listView()->contentsX(), -listView()->contentsY() ); } else if ( isAltBackground() ) - _cg.setColor(QColorGroup::Base, QColor( 200, 255, 200 ) ); + _cg.setColor(QColorGroup::Base, cg.background() ); QListViewItem::paintCell(p, _cg, column, width, align); } -- cgit v0.9.0.2