CVS commit by brunes: Make this work with all plugins like I used to have it, but someone removed it all ---------------------------------------------------------------------- M +2 -2 chatview.cpp 1.236 --- kdenonbeta/kopete/libkopete/ui/chatview.cpp #1.235:1.236 @@ -970,6 +970,6 @@ void ChatView::slotRightClick( const QSt for( KopetePlugin *p = ps.first() ; p ; p = ps.next() ) { - //FIXME: why theses actions are limited to the protocol? -Olivier - if( p == (KopetePlugin*)msgManager()->protocol() ) + KopeteProtocol *protocol = dynamic_cast( p ); + if( !p || protocol == msgManager()->protocol() ) { KActionCollection *customActions = p->customChatWindowPopupActions( m, n );