The Camera make and model was not read correctly from cached data (see issue 1946)

This commit is contained in:
Hombre
2013-08-28 14:59:15 +02:00
parent d4b9d024b3
commit 63b9929539

View File

@@ -78,8 +78,8 @@ int CacheImageData::load (const Glib::ustring& fname) {
if (keyFile.has_key ("ExifInfo", "ExpComp")) expcomp = keyFile.get_string ("ExifInfo", "ExpComp");
}
if (keyFile.has_key ("ExifInfo", "Lens")) lens = keyFile.get_string ("ExifInfo", "Lens");
if (keyFile.has_key ("ExifInfo", "CamMake")) camMake = keyFile.get_string ("ExifInfo", "CamMake");
if (keyFile.has_key ("ExifInfo", "CamModel")) camModel = keyFile.get_string ("ExifInfo", "CamModel");
if (keyFile.has_key ("ExifInfo", "CameraMake")) camMake = keyFile.get_string ("ExifInfo", "CameraMake");
if (keyFile.has_key ("ExifInfo", "CameraModel")) camModel = keyFile.get_string ("ExifInfo", "CameraModel");
}
if (keyFile.has_group ("FileInfo")) {