[Digikam-devel] [Bug 277169] digiKam: face tag/tag region: only the last created face tag of multiple face tags is saved / no face tag is saved if cancel is hit on the last created face tag

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Aug 28 15:22:35 BST 2011


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





--- Comment #15 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-08-28 14:22:35 ---
Git commit ad149fa7b323b1e46c835dd91cd7c180c3ca3c45 by Marcel Wiesweg.
Committed on 28/08/2011 at 16:18.
Pushed by mwiesweg into branch 'master'.

Improve null-object handling in ImageTagPair and TagProperties.

When attempt is made to create an object with in invalid id, now
a null object is created and methods detect this properly, refusing to edit
the db with invalid parameters.
(shows that the SharedNull paradigm is not always so much more elegant than d =
0)

CCBUG: 277169

M  +39   -6    libs/database/tagproperties.cpp
M  +20   -13   libs/database/imagetagpair.cpp

http://commits.kde.org/digikam/ad149fa7b323b1e46c835dd91cd7c180c3ca3c45

-- 
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