From kde-commits Sat May 31 22:45:10 2008 From: Roman Jarosz Date: Sat, 31 May 2008 22:45:10 +0000 To: kde-commits Subject: KDE/kdenetwork/kopete/kopete/contactlist Message-Id: <1212273910.224594.20700.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121227392112760 SVN commit 815014 by rjarosz: Don't show photo in tooltip if contact doesn't have one. M +3 -3 kopetemetacontactlvi.cpp --- trunk/KDE/kdenetwork/kopete/kopete/contactlist/kopetemetacontactlvi.cpp #815013:815014 @@ -93,8 +93,8 @@ toolTip += QLatin1String(""); -// if ( ! metaContact->picture().isNull() ) - { + if ( !metaContact->picture().isNull() ) + { #ifdef __GNUC__ #warning Currently using metaContact->picture().path() but should use replacement of KopeteMimeSourceFactory #endif @@ -104,7 +104,7 @@ toolTip += QString::fromLatin1("").arg( photoName ); #endif toolTip += QString::fromLatin1("").arg( metaContact->picture().path() ); - } + } toolTip += QLatin1String("");