summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-06-19 13:38:18 +0200
committerSimon Rettberg2024-06-19 13:38:18 +0200
commit57f0d58279bd67fb8901e0e2836c400d4a9f6832 (patch)
tree5707eac09a3ca68f6de1f339c686a6474c67ed76
parentSupport cow-token in browser-login mode (diff)
downloadslxgreeter-57f0d58279bd67fb8901e0e2836c400d4a9f6832.tar.gz
slxgreeter-57f0d58279bd67fb8901e0e2836c400d4a9f6832.tar.xz
slxgreeter-57f0d58279bd67fb8901e0e2836c400d4a9f6832.zip
Fix reading UTF8 strings from settings
-rw-r--r--src/settings.h1
1 files changed, 1 insertions, 0 deletions
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);