[Digikam-devel] [Bug 148166] leave tags tree (right sidebar) as set when closing digikam

Andi Clemens andi.clemens at gmx.net
Sun Feb 1 12:19:38 GMT 2009


http://bugs.kde.org/show_bug.cgi?id=148166


Andi Clemens andi clemens gmx net changed:

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




--- Comment #5 from Andi Clemens <andi clemens gmx net>  2009-02-01 13:19:36 ---
SVN commit 919579 by aclemens:

Fix saveViewState() for folderviews with CheckListItems, like
TAlbumListView and TagFilterView.

With current implementation, we are not able to have one common
loadViewState() and saveViewState() method, so we need to re-implement
them in TAlbumListView and TagFilterView. This is not nice because we
have duplicate code now, but since we are going to switch to ModelView
concept next release, it would be a waste of time to create a new common
interface or abstract class now.

We can not call virtual methods in constructors / destructors, so every
view inherited from FolderView needs to call saveViewState() in its own
destructor instead.

BUG:148166

 M  +2 -0      digikam/albumfolderview.cpp  
 M  +1 -1      digikam/folderview.cpp  
 M  +72 -1     digikam/tagfilterview.cpp  
 M  +5 -1      digikam/tagfilterview.h  
 M  +3 -1      digikam/tagfolderview.cpp  
 M  +6 -2      libs/imageproperties/imagedescedittab.cpp  
 M  +71 -1     libs/imageproperties/talbumlistview.cpp  
 M  +7 -1      libs/imageproperties/talbumlistview.h  
 M  +3 -1      utilities/fuzzysearch/fuzzysearchfolderview.cpp  
 M  +3 -1      utilities/gpssearch/gpssearchfolderview.cpp  
 M  +4 -2      utilities/searchwindow/searchfolderview.cpp  
 M  +3 -1      utilities/timeline/timelinefolderview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=919579


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list