Summary: | digikam's 'my albums' and 'my tags' does no longer remember it's state when restarted | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Achim Bohnet <ach> |
Component: | Albums-TreeView | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 0.8.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.9.0 | |
Sentry Crash Report: |
Description
Achim Bohnet
2005-12-01 00:35:09 UTC
I can not reproduce it here.... Hi Tom, I did some more test and found that all closed Albums that have still an open child, are on restart always open again. Only when all subalbums are closed too, the open/close state of an album is remembered on restart. Achim SVN commit 492444 by jahrens: BUG: 117401 M +2 -2 folderview.cpp --- trunk/extragear/graphics/digikam/digikam/folderview.cpp #492443:492444 @@ -314,8 +314,8 @@ } FolderItem *item; - QListViewItemIterator it(this); - for( ; it.current(); ++it) + QListViewItemIterator it(this->lastItem()); + for( ; it.current(); --it) { item = dynamic_cast<FolderItem*>(it.current()); if(!item) SVN commit 492446 by jahrens: backported... CCBUG: 117401 M +2 -2 folderview.cpp --- branches/stable/extragear/graphics/digikam/digikam/folderview.cpp #492445:492446 @@ -314,8 +314,8 @@ } FolderItem *item; - QListViewItemIterator it(this); - for( ; it.current(); ++it) + QListViewItemIterator it(this->lastItem()); + for( ; it.current(); --it) { item = dynamic_cast<FolderItem*>(it.current()); if(!item) |