-rw-r--r-- | kabc/addresseeview.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/kabc/addresseeview.cpp b/kabc/addresseeview.cpp index 0564e85..90be928 100644 --- a/kabc/addresseeview.cpp +++ b/kabc/addresseeview.cpp @@ -259,41 +259,38 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) .arg( /*KGlobalSettings::textColor().name()*/ "black" ) //US .arg( /*KGlobalSettings::baseColor().name()*/ "white" ) .arg( picString ) .arg( name ) .arg( aRole ) .arg( aOrga ) .arg( dynamicPart ) .arg( notes ); } else { // no picture! mText = "<table width=\"100%\">\n"; //mText += "<tr bgcolor=\"#3679AD\"><td><h2>"; #ifdef DESKTOP_VERSION mText += "<tr bgcolor=\"#5699CD\"><td align=\"left\"><h1>"; + mText += "<font color=\"#FFFFFF\">" + name +"</font></h1>"; #else - mText += "<tr bgcolor=\"#5699CD\"><td align=\"left\"><h2>"; + mText += "<tr bgcolor=\"#5699CD\"><td align=\"left\"><h3>"; + mText += "<font color=\"#FFFFFF\"> " + name +"</font></h3>"; #endif -#ifdef DESKTOP_VERSION - mText += "<font color=\"#FFFFFF\"> <em>" + name+"</em></font></h1>"; -#else - mText += "<font color=\"#FFFFFF\"> <em>" + name +"</em></font></h2>"; -#endif mText += "</td></tr>\n<tr bgcolor=\"#EAF8FA\"><td>"; mText += "<table><td colspan=\"2\"> </td>"; /* mText += QString("<tr><td align=\"right\"><b2>%1</b2></td>" "<td align=\"left\"><b>%2</b></td></tr>" ) .arg( i18n(" ") ) .arg( name ); */ if ( ! mAddressee.role().isEmpty() ) mText += QString("<tr><td align=\"right\"><b>%1</b></td>" "<td align=\"left\">%2</td></tr>" ) .arg( i18n(" ") ) .arg( mAddressee.role()); if ( ! mAddressee.organization().isEmpty() ) mText += QString("<tr><td align=\"right\"><b>%1</b></td>" |