rem: tmp = tmp.simplifyWhiteSpace();
add: tmp.remove(QRegExp("[\r\n]"));
context:   QString text( int col) const  {    KMHeaders *headers = static_cast<KMHeaders*>(listView());    KMMsgBase *mMsgBase = headers->folder()->getMsgBase( mMsgId );    QString tmp;    assert(mMsgBase);    if(col == headers->paintInfo()->flagCol) {      if (headers->paintInfo()->flagCol >= 0)        tmp = QString( QChar( (char)mMsgBase->status() ));    } else if(col == headers->paintInfo()->senderCol) {      if (headers->folder()->whoField().lower() == "to")        tmp = mMsgBase->toStrip();      else        tmp = mMsgBase->fromStrip();      if (tmp.isEmpty())        tmp = i18n("Unknown");      else        tmp = tmp.simplifyWhiteSpace();    } else if(col == headers->paintInfo()->subCol) {      tmp = mMsgBase->subject();      if (tmp.isEmpty())        tmp = i18n("No Subject");      else        tmp = tmp.simplifyWhiteSpace();    } else if(col == headers->paintInfo()->dateCol) {        tmp = headers->mDate.dateString( mMsgBase->date() );    } else if(col == headers->paintInfo()->sizeCol      && headers->paintInfo()->showSize) {        if ( mMsgBase->parent()->folderType() == KMFolderTypeImap )        {          tmp = KIO::convertSize( mMsgBase->msgSizeServer() );        } else tmp = KIO::convertSize(mMsgBase->msgSize());    }    return tmp;  }