diff options
author | Simon Rettberg | 2024-06-19 13:38:18 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-06-19 13:38:18 +0200 |
commit | 57f0d58279bd67fb8901e0e2836c400d4a9f6832 (patch) | |
tree | 5707eac09a3ca68f6de1f339c686a6474c67ed76 | |
parent | Support cow-token in browser-login mode (diff) | |
download | slxgreeter-57f0d58279bd67fb8901e0e2836c400d4a9f6832.tar.gz slxgreeter-57f0d58279bd67fb8901e0e2836c400d4a9f6832.tar.xz slxgreeter-57f0d58279bd67fb8901e0e2836c400d4a9f6832.zip |
Fix reading UTF8 strings from settings
-rw-r--r-- | src/settings.h | 1 |
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); |