[Digikam-devel] [Bug 113804] When a camera is added to the toolbar, the icon is not displayed after DigiKam restart.

Renchi Raju renchi.raju at kdemail.net
Tue Oct 4 09:44:07 BST 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=113804         
renchi.raju kdemail net changed:

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



------- Additional Comments From renchi.raju kdemail net  2005-10-04 10:42 -------
SVN commit 467070 by pahlibar:

load the cameras before the createGUI, so that any
toolbar actions are plugged in correctly

BUGS: 113804


 M  +7 -5      digikamapp.cpp  


--- trunk/extragear/graphics/digikam/digikam/digikamapp.cpp #467069:467070
 @ -114,11 +114,6  @
     mAlbumManager->setLibraryPath(mAlbumSettings->getAlbumLibraryPath());
     mAlbumManager->startScan();
 
-    // Load Cameras
-    if(mSplash)
-        mSplash->message(i18n("Loading cameras"), AlignLeft, white);
-    loadCameras();
-
     // Load KIPI Plugins.
     loadPlugins();
 
 @ -577,6 +572,13  @
     // Provides a menu entry that allows showing/hiding the toolbar(s)
     setStandardToolBarMenuEnabled(true);
 
+    // Load Cameras -- do this before the createGUI so that the cameras
+    // are plugged into the toolbar at startup
+    if (mSplash)
+        mSplash->message(i18n("Loading cameras"), AlignLeft, white);
+    loadCameras();
+
+    
     createGUI(QString::fromLatin1( "digikamui.rc" ), false);
 
     // Initialize Actions ---------------------------------------



More information about the Digikam-devel mailing list