From 50da6a8e27e150587e14d97677af959963aa63f1 Mon Sep 17 00:00:00 2001 From: Hombre Date: Sun, 20 Feb 2011 01:33:31 +0100 Subject: [PATCH] Missing modification for the previous patch about version handling of the PP files --- rtgui/cacheimagedata.cc | 2 +- rtgui/cacheimagedata.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;