rem: p.setBackgroundColor( bgColor ); p.setBrush( Qt::SolidPattern );
add: p.setBrush( bgColor );
context: void setCategoryColors( QPainter &p, Incidence *incidence){  QColor bgColor;  QStringList categories = incidence->categories();  QString cat = categories.first();  if (cat.isEmpty())    bgColor = KOPrefs::instance()->mEventColor;  else    bgColor = *(KOPrefs::instance()->categoryColor(cat));  QColor textColor = getTextColor(bgColor);  p.setPen( textColor );  p.setBackgroundColor( bgColor );  p.setBrush( Qt::SolidPattern );//  p.setBrush( Qt::NoBrush );}