http://bugs.kde.org/show_bug.cgi?id=167867Gilles Caulier caulier gilles gmail com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |
[hidden email]
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Gilles Caulier <caulier gilles gmail com> 2008-08-24 09:16:24 ---
SVN commit 851604 by mwiesweg:
Dont cause an AlbumManager reset each time exiting setup, this is only
necessary for the rare case of a db path change.
BUG: 167867
M +6 -3 digikamapp.cpp
--- trunk/extragear/graphics/digikam/digikam/digikamapp.cpp #851603:851604
@@ -1903,11 +1903,14 @@
//if(AlbumSettings::instance()->getAlbumLibraryPath() !=
AlbumManager::instance()->getLibraryPath())
// d->view->clearHistory();
- if
(AlbumManager::instance()->setDatabase(AlbumSettings::instance()->getDatabaseFilePath(),
false))
- AlbumManager::instance()->startScan();
+ if
(!AlbumManager::instance()->databaseEqual(AlbumSettings::instance()->getDatabaseFilePath()))
+ {
+ if
(AlbumManager::instance()->setDatabase(AlbumSettings::instance()->getDatabaseFilePath(),
false))
+ AlbumManager::instance()->startScan();
+ }
if(AlbumSettings::instance()->getShowFolderTreeViewItemsCount())
- AlbumManager::instance()->refresh();
+ AlbumManager::instance()->prepareItemCounts();
d->view->applySettings();
d->albumIconViewFilter->readSettings();
--
Configure bugmail:
http://bugs.kde.org/userprefs.cgi?tab=email------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel