diff options
Diffstat (limited to 'src/path_functions.cpp')
| -rw-r--r-- | src/path_functions.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/path_functions.cpp b/src/path_functions.cpp index 8de2904b..9b969c48 100644 --- a/src/path_functions.cpp +++ b/src/path_functions.cpp @@ -273,11 +273,8 @@ QString AOApplication::get_config_value(QString p_identifier, QString p_config, if (!path.isEmpty()) { QSettings settings(path, QSettings::IniFormat); -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - settings.setIniCodec("UTF-8"); -#endif QVariant value = settings.value(p_identifier); - if (value.type() == QVariant::StringList) + if (value.typeId() == QMetaType::QStringList) { return value.toStringList().join(","); } |
