[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/kopete/contactlist
From:       Roman Jarosz <kedgedev () centrum ! cz>
Date:       2008-05-31 22:45:10
Message-ID: 1212273910.224594.20700.nullmailer () svn ! kde ! org
[Download RAW message or body]

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("<tr><td>");
 
-// 		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("<img src=\"%1\">").arg( photoName );
 #endif
 			toolTip += QString::fromLatin1("<img src=\"%1\">").arg( \
                metaContact->picture().path() );
-        }
+		}
 
 		toolTip += QLatin1String("</td><td>");
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic