summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-10-12 20:38:57 (UTC)
committer zautrix <zautrix>2004-10-12 20:38:57 (UTC)
commit60a63813f7ec38fe275e7ef06033a6d3eb3ec31c (patch) (side-by-side diff)
treee1bc86e49c5947a593f752e46acb89f06fabf7fc
parentc38bc76bfec3aae65f3bc22c3e2a6ac0d6b0437d (diff)
downloadkdepimpi-60a63813f7ec38fe275e7ef06033a6d3eb3ec31c.zip
kdepimpi-60a63813f7ec38fe275e7ef06033a6d3eb3ec31c.tar.gz
kdepimpi-60a63813f7ec38fe275e7ef06033a6d3eb3ec31c.tar.bz2
space fixes
Diffstat (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
@@ -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\">&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>" )
.arg( i18n(" ") )
.arg( mAddressee.role());
if ( ! mAddressee.organization().isEmpty() )
mText += QString("<tr><td align=\"right\"><b>%1</b></td>"