summaryrefslogtreecommitdiffstats
path: root/src/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h
index a218e3b..ce6da1d 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -25,6 +25,7 @@ public:
for (QFileInfo fileInfo : fileInfoList) {
QString filePath = fileInfo.absoluteFilePath();
QSettings setting(filePath, IniFormat);
+ setting.setIniCodec(QTextCodec::codecForLocale());
for(QString key : setting.allKeys()) {
this->setValue(key, setting.value(key));
}
@@ -60,7 +61,6 @@ public:
static QString guestSessionButtonText() { return s_settings->value("guest-session-button-text").toString(); }
static QString guestSessionStartText() { return s_settings->value("guest-session-start-text").toString(); }
static QString guestSessionStartButtonText() { return s_settings->value("guest-session-start-button-text").toString(); }
- static QString allowedShibbolethDomains() { return s_settings->value("allowed-shibboleth-domains").toString(); }
static int resetForm() { return s_settings->value("reset-timeout", "30").toInt(); }
static int rpcPort() { return s_settings->value("rpc-port", "0").toInt(); }
};