g-key-file-error-quark occures rather often and freezes RT, Issue 807

This commit is contained in:
Ingo
2015-05-25 19:55:59 +02:00
parent d678063484
commit 3ce4191789
6 changed files with 9 additions and 5 deletions

View File

@@ -39,6 +39,7 @@
#include "jpeg.h"
#include "../rtgui/ppversion.h"
#include "improccoordinator.h"
#include <locale.h>
extern Options options;
@@ -1528,7 +1529,7 @@ bool Thumbnail::readImage (const Glib::ustring& fname) {
}
bool Thumbnail::readData (const Glib::ustring& fname) {
setlocale(LC_NUMERIC, "C"); // to set decimal point to "."
SafeKeyFile keyFile;
try {