Summary: | When a camera is added to the toolbar, the icon is not displayed after DigiKam restart. | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Tung NGUYEN <ntung> |
Component: | Usability-Toolbars | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 0.8.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.5.0 | |
Sentry Crash Report: |
Description
Tung NGUYEN
2005-10-03 22:00:06 UTC
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 --------------------------------------- I have tested this bug fix with the lastest SVN, the camera icon is displayed correctly in the main toolbar after DigiKam restart. Thank you. Fixed by Renchi. Closed Gilles |