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

List:       kde-commits
Subject:    branches/KDE/3.4/kdenetwork/kopete/libkopete
From:       Michaƫl Larouche <shock () shockdev ! ca ! tc>
Date:       2005-06-08 18:51:48
Message-ID: 1118256708.695979.13673.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 423519 by mlarouche:


BUG:
Backport

Metacontact photo attributes was not saved when the metacontact has a KDE Address \
Book link.



 M  +3 -3      kopetemetacontact.cpp  


--- branches/KDE/3.4/kdenetwork/kopete/libkopete/kopetemetacontact.cpp #423518:423519
@@ -785,9 +785,9 @@
 	{
 		QDomElement photo = metaContact.createElement( QString::fromLatin1("photo" ) );
 		photo.setAttribute( QString::fromLatin1("syncWithKABC") , QString::fromLatin1( \
                d->photoSyncedWithKABC ? "1" : "0" ) );
-		displayName.setAttribute( PSCID_ELEM, d->nameSourceCID );
-		displayName.setAttribute( PSPID_ELEM, d->nameSourcePID );
-		displayName.setAttribute( PSAID_ELEM, d->nameSourceAID );
+		photo.setAttribute( PSCID_ELEM, d->photoSourceCID );
+		photo.setAttribute( PSPID_ELEM, d->photoSourcePID );
+		photo.setAttribute( PSAID_ELEM, d->photoSourceAID );
 		metaContact.documentElement().appendChild( photo );
 	}
 


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

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