From 57f0d58279bd67fb8901e0e2836c400d4a9f6832 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 19 Jun 2024 13:38:18 +0200 Subject: Fix reading UTF8 strings from settings --- src/settings.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/settings.h b/src/settings.h index 5bda9b0..4d8f04b 100644 --- a/src/settings.h +++ b/src/settings.h @@ -17,6 +17,7 @@ public: Settings() : QSettings(QString(CONFIG_FILE), IniFormat) { + setIniCodec(QTextCodec::codecForLocale()); QDir configDir(CONFIG_FOLDER); QFileInfoList fileInfoList = configDir.entryInfoList(QStringList() << "*.conf", QDir::Files, QDir::Name); -- cgit v1.2.3-55-g7522