| Summary: | Remove all the Image tools menu entries when unchecking the tools in Settings->Configure ShowFoto... | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Tung NGUYEN <ntung> |
| Component: | Showfoto-Plugins | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 5.7.0 | |
| Sentry Crash Report: | |||
|
Description
Tung NGUYEN
2005-11-07 11:33:33 UTC
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();
Since digiKam 5.2.0, all image editor plugins have been removed and embed as well in image editor/showfoto implementation. There is no more run-time loading of plugin libraries. Gilles Caulier |