[Digikam-devel] [digikam] [Bug 314441] Rename settings and auto-rotation during import ignored

Jonatan jlbijl at gmail.com
Thu May 9 11:31:43 BST 2013


--- Comment #32 from Jonatan <jlbijl at gmail.com> ---
Little extra explanation on previous post (sorry, forgot to add it when
uploading patch)

I'm trying to do something like that in the ImportUI::downloadCameraItems
method (don't know if that is the right place, though), but I don't understand
how to get the parameters.

Here's my attempt:
if (!d->renameCustomizer->useDefault()) {
        QList<ParseSettings> renameFiles;
        foreach(CamItemInfo info, list)
            ImageInfo imInfo(info.url());
            ParseSettings settings(imInfo);

However, it does not work, probably  because ImageInfo is an interface to the
database, and we are working here with images that are not yet in the database.
This code gives the following output in the console: 
No location could be retrieved for url

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

More information about the Digikam-devel mailing list