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

List:       kde-commits
Subject:    branches/work/kopete/dev-0.12/kopete/protocols/winpopup
From:       Gerd Fleischer <gerdfleischer () web ! de>
Date:       2006-01-31 17:04:01
Message-ID: 1138727041.854519.1440.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 504289 by geflei:

fix setMyself(), prevent crash due to null pointer dereference

 M  +1 -1      wpaccount.cpp  


--- branches/work/kopete/dev-0.12/kopete/protocols/winpopup/wpaccount.cpp #504288:504289
@@ -42,7 +42,7 @@
 	QString theHostName = accountID;
 
 	// we need this before initActions
-	setMyself( new WPContact(this, theHostName, theHostName, 0) );
+	setMyself( new WPContact(this, theHostName, theHostName, Kopete::ContactList::self()->myself()) );
 
 //	if (excludeConnect()) connect(Kopete::OnlineStatus::Online); // ??
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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