[Digikam-devel] [Bug 297490] Copy tags when creating a new version

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Apr 22 21:08:10 BST 2012


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

Marcel Wiesweg <marcel.wiesweg at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/4918e135ef681e8d2f56cc8
                   |                            |a2705d05880914497

--- Comment #2 from Marcel Wiesweg <marcel.wiesweg at gmx.de> ---
Git commit 4918e135ef681e8d2f56cc8a2705d05880914497 by Marcel Wiesweg.
Committed on 22/04/2012 at 18:53.
Pushed by mwiesweg into branch 'master'.

Consolidate code for copying attributes in CollectionScanner and fix copying of
tags.

Tags cannot simply be copied at the lowest level: The SQL fails in case tags
are already set, but much more important: internal tags such as history tags
must not be copied. Use TagsCache and ImageInfo facilities to copy tags
properly.

M  +51   -3    libs/database/collectionscanner.cpp
M  +6    -6    libs/database/collectionscanner.h
M  +11   -37   libs/database/imagescanner.cpp
M  +0    -5    libs/database/imagescanner.h

http://commits.kde.org/digikam/4918e135ef681e8d2f56cc8a2705d05880914497

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list