Merge branch 'dev' into libraw-copylib

This commit is contained in:
Lawrence Lee
2024-06-02 18:15:43 -07:00
631 changed files with 30451 additions and 39899 deletions

View File

@@ -20,6 +20,7 @@
#include <vector>
#include <glib/gstdio.h>
#include <glibmm/keyfile.h>
#include <glibmm/fileutils.h>
#include "version.h"
#include <locale.h>
@@ -273,7 +274,9 @@ int CacheImageData::save (const Glib::ustring& fname)
Glib::KeyFile keyFile;
try {
keyFile.load_from_file (fname);
if (Glib::file_test(fname, Glib::FILE_TEST_EXISTS)) {
keyFile.load_from_file (fname);
}
} catch (Glib::Error&) {}
keyFile.set_string ("General", "MD5", md5);