[Digikam-devel] [Bug 115850] Remove all the ImagePlugins menu entries when unchecking the plugins in Settings->Configure ShowFoto...

Gilles Caulier caulier.gilles at free.fr
Mon Nov 7 11:05:34 GMT 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=115850         
caulier.gilles free fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From caulier.gilles free fr  2005-11-07 12:05 -------
SVN commit 478627 by cgilles:

Unload image plugins list properly before to reload it.
CCBUG : 115850

 M  +2 -2      showfoto.cpp  


--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #478626:478627
 @ -89,6 +89,7  @
 ShowFoto::ShowFoto(const KURL::List& urlList)
         : KMainWindow( 0, "Showfoto" )
 {
+    m_currentItem            = 0;
     m_itemsNb                = 0;
     m_splash                 = 0;
     m_BCGAction              = 0;
 @ -98,7 +99,6  @
     m_fullScreenHideThumbBar = true;
     m_config                 = kapp->config();
     m_config->setGroup("ImageViewer Settings");
-    m_currentItem = 0;
 
     if(m_config->readBoolEntry("ShowSplash", true) &&
        !kapp->isRestored())
 @ -1271,9 +1271,9  @
     if (setup.exec() != QDialog::Accepted)
         return;
 
+    unLoadPlugins();
     m_imagePluginLoader->loadPluginsFromList(setup.pluginsPage_->getImagePluginsListEnable());
     m_config->sync();
-    unLoadPlugins();
     loadPlugins();
     applySettings();



More information about the Digikam-devel mailing list