[Digikam-devel] [Bug 220545] Cannot write XMP sidecar files

Marcel Wiesweg marcel.wiesweg at gmx.de
Mon Jul 5 18:06:32 BST 2010


https://bugs.kde.org/show_bug.cgi?id=220545





--- Comment #54 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-07-05 19:06:30 ---
Oh, there are a lot of places where a DMetadata object is loaded. Grep for it,
can be about 100 occurrences. And a lot of places where AlbumSettings is not
available.

I suggest to set this setting / these settings centrally with a static method
in DMetadata. Because DMetadata can be used very early after startup, it should
even be able to read the setting directly from KConfig, with a method to
trigger re-reading it when changed.

If there are going to be more settings than just one, we should consider
setting up a MetadataSettings singleton.
We had similar problems and have come up with a similar solution for color
management settings: See the IccSettings class.

-- 
Configure bugmail: https://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