[KPhotoAlbum] fix: special category's attributes not saved
Christoph Moseler
forums at moseler.net
Sun Nov 12 00:05:35 GMT 2006
Hi Jesper,
the attributes "icon", "show", "viewtype" and "thumbnailsize" are not
saved for the categories "folder" and "media type".
Steps to reproduce that the show-attribute is not saved:
- open an image in the Viewer
- open the context menu -> show -> deselect "Show Media Type"
- Quit kpa and save your db
- reopen kpa
- open an image in the Viewer
- open the context menu -> show
The show-state of the Media Type has not been saved, it's selected again.
The problem is that categories with the shouldSave-flag set to false are
not be written to the index.xml at all.
With my patch, categories that should not be saved are written now to
the index.xml, but without their value-tags.
Best regards,
Christoph
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: special_cat.patch
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20061112/8ed56114/attachment.ksh>
More information about the Kphotoalbum
mailing list