aboutsummaryrefslogtreecommitdiff
path: root/lib/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/settings.cpp')
-rw-r--r--lib/settings.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/settings.cpp b/lib/settings.cpp
index 0349e699..5413693d 100644
--- a/lib/settings.cpp
+++ b/lib/settings.cpp
@@ -16,6 +16,11 @@ void Settings::setLegacyNames(const QString& organizationName,
legacyApplicationName = applicationName;
}
+Settings::Settings(QObject* parent) : QSettings(parent)
+{
+ setIniCodec("UTF-8");
+}
+
void Settings::setValue(const QString& key, const QVariant& value)
{
QSettings::setValue(key, value);