diff --git a/rtgui/cacheimagedata.cc b/rtgui/cacheimagedata.cc index 04e51c4bb..75a6ab75a 100644 --- a/rtgui/cacheimagedata.cc +++ b/rtgui/cacheimagedata.cc @@ -164,10 +164,6 @@ int CacheImageData::load (const Glib::ustring& fname) if (keyFile.has_key ("ExtraRawInfo", "ThumbImageType")) { thumbImgType = keyFile.get_integer ("ExtraRawInfo", "ThumbImageType"); } - - if (keyFile.has_key ("ExtraRawInfo", "ThumbImageOffset")) { - thumbOffset = keyFile.get_integer ("ExtraRawInfo", "ThumbImageOffset"); - } } else { rotate = 0; thumbImgType = 0; @@ -247,7 +243,6 @@ int CacheImageData::save (const Glib::ustring& fname) if (format == FT_Raw) { keyFile.set_integer ("ExtraRawInfo", "ThumbImageType", thumbImgType); - keyFile.set_integer ("ExtraRawInfo", "ThumbImageOffset", thumbOffset); } keyData = keyFile.to_data (); diff --git a/rtgui/cacheimagedata.h b/rtgui/cacheimagedata.h index 91a31ce4f..f655bd88b 100644 --- a/rtgui/cacheimagedata.h +++ b/rtgui/cacheimagedata.h @@ -65,7 +65,6 @@ public: // additional info on raw images int rotate; int thumbImgType; - int thumbOffset; enum { FULL_THUMBNAIL = 0, // was the thumbnail generated from whole file