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

List:       kde-commits
Subject:    kdenonbeta/kopete/libkopete/ui
From:       Martijn Klingens <klingens () kde ! org>
Date:       2002-12-10 18:35:45
[Download RAW message or body]

CVS commit by mklingens: 

Shiver... using friend declarations to access private members is already
questionable, but even more so if the method to do it the right way is
*also* available


  M +2 -2      addwizardimpl.cpp   1.30


--- kdenonbeta/kopete/libkopete/ui/addwizardimpl.cpp  #1.29:1.30
@@ -57,5 +57,5 @@ AddWizardImpl::AddWizardImpl(QWidget *pa
         {
                 kdDebug() << "AddWizardImpl::AddWizardImpl :" <<(*i).name << " " << \
                (*i).specfile <<"\n";
-                KopetePlugin *tmpprot = \
(kopeteapp->libraryLoader())->mLibHash[(*i).specfile]->plugin; +                \
                KopetePlugin *tmpprot = kopeteapp->libraryLoader()->searchByID( ( *i \
                ).name );
                 KopeteProtocol *prot =  dynamic_cast<KopeteProtocol*>( tmpprot );
 


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

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