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

List:       kde-commits
Subject:    kdenonbeta/kopete/libkopete/ui
From:       Jason Keirstead <jason () keirstead ! org>
Date:       2003-03-28 15:03:41
[Download RAW message or body]

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<KopeteProtocol*>( p ); +                                if( !p || \
protocol == msgManager()->protocol() )  {
                                         KActionCollection *customActions = \
p->customChatWindowPopupActions( m, n );


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

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