From kde-commits Thu Mar 31 23:10:24 2005 From: Ariya Hidayat Date: Thu, 31 Mar 2005 23:10:24 +0000 To: kde-commits Subject: koffice/kspread Message-Id: <20050331231024.E4B6F636 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111231063808945 CVS commit by ariya: match with the new highlight color used in column/row headers M +4 -1 kspread_cell.cc 1.695 --- koffice/kspread/kspread_cell.cc #1.694:1.695 @@ -2275,5 +2275,8 @@ void KSpreadCell::paintBackground( QPain // Determine the correct background color if ( selected ) - painter.setBackgroundColor( defaultColorGroup.highlight() ); + { + QColor c = defaultColorGroup.highlight().light(); + painter.setBackgroundColor( c ); + } else { QColor bg( backgroundColor );