rem: conf->setGroup("Fonts"); if( column == headers->paintInfo()->dateCol ) {
add: KConfigGroupSaver saver(conf, "Fonts"); if( column == headers->paintInfo()->dateCol ) {
context:   void paintCell( QPainter * p, const QColorGroup & cg,				int column, int width, int align )  {    KMHeaders *headers = static_cast<KMHeaders*>(listView());    QColorGroup _cg( cg );    QColor c = _cg.text();    QColor *color;    KMMsgBase *mMsgBase = headers->folder()->getMsgBase( mMsgId );    switch (mMsgBase->status())    {      case KMMsgStatusNew:	color = (QColor*)(&headers->paintInfo()->colNew);	break;      case KMMsgStatusUnread:	color = (QColor*)(&headers->paintInfo()->colUnread);	break;      case KMMsgStatusFlag:	color = (QColor *)(&headers->paintInfo()->colFlag);	break;      default:	color = (QColor *)(&headers->paintInfo()->colFore);	break;    }    _cg.setColor( QColorGroup::Text, *color );    KConfig *conf = kapp->config();    conf->setGroup("Fonts");	    if( column == headers->paintInfo()->dateCol ) {      if (!conf->readBoolEntry("defaultFonts",TRUE)) {        QFont folderFont = QFont("courier");        p->setFont(conf->readFontEntry("list-date-font", &folderFont));      } else {        p->setFont(KGlobalSettings::generalFont());      }    }    QListViewItem::paintCell( p, _cg, column, width, align );    _cg.setColor( QColorGroup::Text, c );  }