CVS commit by mattr: less warnings M +1 -1 history/historyplugin.h 1.11 M +2 -2 nowlistening/nowlisteningplugin.cpp 1.49 M +2 -1 webpresence/webpresenceplugin.cpp 1.51 --- kdenetwork/kopete/plugins/history/historyplugin.h #1.10:1.11 @@ -57,5 +57,5 @@ class HistoryMessageLoggerFactory : publ public: HistoryMessageLoggerFactory( HistoryPlugin *history ) : history(history) {} - Kopete::MessageHandler *create( Kopete::ChatSession *manager, Kopete::Message::MessageDirection direction ) + Kopete::MessageHandler *create( Kopete::ChatSession * /*manager*/, Kopete::Message::MessageDirection direction ) { if( direction != Kopete::Message::Inbound ) --- kdenetwork/kopete/plugins/nowlistening/nowlisteningplugin.cpp #1.48:1.49 @@ -258,6 +258,6 @@ void NowListeningPlugin::advertiseToChat kdDebug(14307) << k_funcinfo << ( pl.isEmpty() ? "has no " : "has " ) << "interested recipients: " << endl; - for ( pl.first(); pl.current(); pl.next() ) - kdDebug(14307) << "NowListeningPlugin::advertiseNewTracks() " << pl.current()->displayName() << endl; +/* for ( pl.first(); pl.current(); pl.next() ) + kdDebug(14307) << "NowListeningPlugin::advertiseNewTracks() " << pl.current()->displayName() << endl; */ // if no-one in this KMM wants to be advertised to, don't send // any message --- kdenetwork/kopete/plugins/webpresence/webpresenceplugin.cpp #1.50:1.51 @@ -238,7 +238,8 @@ KTempFile* WebPresencePlugin::generateFi Kopete::Contact* me = account->myself(); + QString displayName = me->property( Kopete::Global::Properties::self()->nickName() ).value().toString(); QDomElement accName = doc.createElement( "accountname" ); QDomText accNameText = doc.createTextNode( ( me ) - ? me->displayName().latin1() + ? displayName.latin1() : notKnown.latin1() ); accName.appendChild( accNameText );