[Digikam-devel] Import ignoring naming pattern

Marcel Wiesweg marcel.wiesweg at gmx.de
Mon Dec 31 16:20:20 GMT 2012


> Oh I didn't see you are importing... you are right, for importing it
> doesn't seem to work anymore, as described in the bug 307253.

The problem is in utilities/importui/main/importui.cpp around line 1687.
In older times, item.downloadname contained the adjusted file name, but that 
does not work any more, and is dirty. We should generate the name freshly. 
"renameCustomizer" sounds like a tempting source to retrieve the name.

If the "CamItemInfo", which its including PhotoInfoContainer, provides enough 
information to compute the new name, then it's the best and cleanest solution 
at this place.
If we need the full file, then there is slotDownloaded further down.

Marcel



More information about the Digikam-devel mailing list