diff --git a/rtgui/cacheimagedata.cc b/rtgui/cacheimagedata.cc index 85b49d700..3640ec510 100644 --- a/rtgui/cacheimagedata.cc +++ b/rtgui/cacheimagedata.cc @@ -37,7 +37,7 @@ int CacheImageData::load (const Glib::ustring& fname) { if (keyFile.has_group ("General")) { if (keyFile.has_key ("General", "MD5")) md5 = keyFile.get_string ("General", "MD5"); - if (keyFile.has_key ("General", "Version")) version = keyFile.get_integer ("General", "Version"); + if (keyFile.has_key ("General", "Version")) version = keyFile.get_string ("General", "Version"); if (keyFile.has_key ("General", "Supported")) supported = keyFile.get_boolean ("General", "Supported"); if (keyFile.has_key ("General", "Format")) format = (ThFileType)keyFile.get_integer ("General", "Format"); if (keyFile.has_key ("General", "Rank")) rank = keyFile.get_integer ("General", "Rank"); diff --git a/rtgui/cacheimagedata.h b/rtgui/cacheimagedata.h index a1143b51a..d27504a3b 100644 --- a/rtgui/cacheimagedata.h +++ b/rtgui/cacheimagedata.h @@ -28,7 +28,7 @@ class CacheImageData { // basic informations Glib::ustring md5; - int version; + Glib::ustring version; bool supported; ThFileType format; char rank;