summaryrefslogtreecommitdiffabout
path: root/kabc
Side-by-side diff
Diffstat (limited to 'kabc') (more/less context) (show whitespace changes)
-rw-r--r--kabc/addresseeview.cpp9
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
@@ -263,33 +263,30 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr )
.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\">&nbsp;</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>" )