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

List:       kde-commits
Subject:    kdenetwork/kopete/protocols/yahoo
From:       Matt Rogers <matt.rogers () kdemail ! net>
Date:       2004-06-30 17:18:24
Message-ID: 20040630171824.C80D09976 () office ! kde ! org
[Download RAW message or body]

CVS commit by mattr: 

Don't try to connect or disconnect signals if we don't have a valid session
variable.  Fixes Will's crash.


  M +3 -0      yahooaccount.cpp   1.89


--- kdenetwork/kopete/protocols/yahoo/yahooaccount.cpp  #1.88:1.89
@@ -165,4 +165,7 @@ QColor YahooAccount::getMsgColor(const Q
 void YahooAccount::initConnectionSignals( enum SignalConnectionType sct )
 {
+        if ( !m_session )
+                return;
+
         if ( sct == MakeConnections )
         {


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

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