summaryrefslogtreecommitdiffabout
path: root/kabc/addresseeview.cpp
Side-by-side diff
Diffstat (limited to 'kabc/addresseeview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/addresseeview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/kabc/addresseeview.cpp b/kabc/addresseeview.cpp
index 9118c3d..667a5e2 100644
--- a/kabc/addresseeview.cpp
+++ b/kabc/addresseeview.cpp
@@ -43,6 +43,7 @@
#endif
+#include <qstylesheet.h>
#include "externalapphandler.h"
#include <kabc/addresseeview.h>
@@ -70,6 +71,7 @@ AddresseeView::AddresseeView( QWidget *parent, const char *name )
//US QStyleSheetItem *link = sheet->item( "a" );
//US link->setColor( KGlobalSettings::linkColor() );
+
}
void AddresseeView::printMe()
{
@@ -125,8 +127,12 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee )
setText( QString::null);
return;
}
+#if 0
QString name = ( mAddressee.assembledName().isEmpty() ?
mAddressee.formattedName() : mAddressee.assembledName() );
+#endif
+
+ QString name = mAddressee.realName();
QString dynamicPart;