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();