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

List:       kde-commits
Subject:    branches/KDE/4.6/kdenetwork/kopete/protocols/oscar
From:       Lamarque Souza <lamarque () gmail ! com>
Date:       2011-06-11 5:31:03
Message-ID: 20110611053103.6308AAC7BC () svn ! kde ! org
[Download RAW message or body]

SVN commit 1236076 by lvsouza:

Backport r1236075:

Prevents crash when closing Kopete with kwallet closed.


 M  +1 -1      oscarcontact.cpp  


--- branches/KDE/4.6/kdenetwork/kopete/protocols/oscar/oscarcontact.cpp #1236075:1236076
@@ -188,7 +188,7 @@
 			mAccount->addContactToSSI( contactId(), newGroup->displayName(), true );
 	}
 
-	if ( flags & Kopete::Contact::DisplayNameChanged )
+	if ( flags & Kopete::Contact::DisplayNameChanged && mAccount->engine() )
 	{
 		kDebug(OSCAR_GEN_DEBUG) << "Changing contact alias";
 		mAccount->engine()->changeContactAlias( contactId(), metaContact()->displayName() );
[prev in list] [next in list] [prev in thread] [next in thread] 

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