[Digikam-devel] [Bug 184156] showfoto lensfun select wrong lens

Andreas Huggel ahuggel at gmx.net
Sun Feb 22 07:01:37 GMT 2009


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





--- Comment #13 from Andreas Huggel <ahuggel gmx net>  2009-02-22 08:01:32 ---
Ok. I suggest this fix in KExiv2::getExifTagString (kexiv2exif.cpp, line 679):
Just replace

684         Exiv2::ExifData exifData(d->exifMetadata);
...
688             std::ostringstream os;
689             os << *it;
690             QString tagValue = QString::fromLocal8Bit(os.str().c_str());

with

684         const Exiv2::ExifData& exifData(d->exifMetadata);
...
688             std::string val = it->print(&exifData);
689             QString tagValue = QString::fromLocal8Bit(val.str().c_str());

or is there a particular reason why the Exif metadata container must be copied
in line 684?

Andreas

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