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

List:       kde-commits
Subject:    branches/KDE/4.3/kdenetwork/kopete/protocols/wlm
From:       Roman Jarosz <kedgedev () gmail ! com>
Date:       2009-10-30 0:18:01
Message-ID: 1256861881.698518.11487.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1042522 by rjarosz:

Partially backport commit 1042486
Fix bug 212058: Kopete crashes when adding msn contact while offline.
 
CCBUG: 212058


 M  +3 -0      wlmaccount.cpp  


--- branches/KDE/4.3/kdenetwork/kopete/protocols/wlm/wlmaccount.cpp #1042521:1042522
@@ -112,6 +112,9 @@
 WlmAccount::createContact (const QString & contactId,
                            Kopete::MetaContact * parentContact)
 {
+    if ( !m_server )
+        return false;
+
     kDebug() << "contact " << contactId;
     WlmContact *newContact = new WlmContact (this, contactId, QString(), \
parentContact->displayName (), parentContact);  


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

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