From 38864fd0e8e3c872a749e0589b58d8f6e65c2bdf Mon Sep 17 00:00:00 2001 From: Denis Perchine II Date: Fri, 12 Dec 1997 15:10:16 +0000 Subject: [PATCH] Any more cleanups svn path=/trunk/kdegraphics/kdvi/; revision=3393 --- marklist.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/marklist.cpp b/marklist.cpp index 5a71fa71d..4684df7b1 100644 --- a/marklist.cpp +++ b/marklist.cpp @@ -87,8 +87,9 @@ void MarkList::paintCell( QPainter *p, int row, int col) if ( items.at( row )->select() ) { QColorGroup cg = QApplication::palette()->normal(); + QBrush tmpB(colorGroup().light()); qDrawShadePanel( p, 0, 0, cellWidth( 1 ) - 1, cellHeight(), - cg, FALSE, 1, new QBrush(colorGroup().light())); + cg, FALSE, 1, &tmpB); } QFontMetrics fm = p->fontMetrics();