[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kopete/plugins/translator
From: Richard Smith <kde () metafoo ! co ! uk>
Date: 2003-03-21 3:36:51
[Download RAW message or body]
CVS commit by lilachaze:
Don't crash on incoming messages with no metacontact
M +5 -0 translatorplugin.cpp 1.31
--- kdenonbeta/kopete/plugins/translator/translatorplugin.cpp #1.30:1.31
@@ -207,4 +207,9 @@ void TranslatorPlugin::slotIncomingMessa
{
KopeteMetaContact *from = msg.from()->metaContact();
+ if( !from )
+ {
+ kdDebug(14308) << "TranslatorPlugin::slotIncomingMessage : \
No metaContact for source contact" << endl; + return;
+ }
src_lang = from->pluginData( this, "languageKey" );
if( src_lang.isEmpty() || src_lang == "null" )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic