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

List:       kde-commits
Subject:    kdenonbeta/kopete/plugins/cryptography
From:       Richard Smith <kde () metafoo ! co ! uk>
Date:       2003-03-21 3:37:46
[Download RAW message or body]

CVS commit by lilachaze: 

Don't crash when sending messages to yourself :)


  M +3 -1      cryptographyplugin.cpp   1.19


--- kdenonbeta/kopete/plugins/cryptography/cryptographyplugin.cpp  #1.18:1.19
@@ -166,5 +166,7 @@ void CryptographyPlugin::slotOutgoingMes
         for( KopeteContact *c = contactlist.first(); c; c = contactlist.next() )
         {
-                QString tmpKey = c->metaContact()->pluginData( this, "gpgKey" );
+                QString tmpKey;
+                if( c->metaContact() )
+                        tmpKey = c->metaContact()->pluginData( this, "gpgKey" );
                 if( tmpKey.isEmpty() )
                 {


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

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