Commit f3db7f00 authored by Han Young's avatar Han Young
Browse files

fix changes not saved to config file on non-glibc systems

parent 14f0611e
......@@ -38,6 +38,8 @@ KCMRegionAndLang::KCMRegionAndLang(QObject *parent, const KPluginMetaData &data,
connect(m_generator, &LocaleGeneratorBase::success, this, &KCMRegionAndLang::generateFinished);
connect(m_generator, &LocaleGeneratorBase::needsFont, this, &KCMRegionAndLang::requireInstallFont);
connect(m_generator, &LocaleGeneratorBase::success, this, &KCMRegionAndLang::saveToConfigFile);
connect(m_generator, &LocaleGeneratorBase::userHasToGenerateManually, this, &KCMRegionAndLang::saveToConfigFile);
connect(m_generator, &LocaleGeneratorBase::needsFont, this, &KCMRegionAndLang::saveToConfigFile);
// if we don't support auto locale generation for current system (BSD, musl etc.), userHasToGenerateManually regarded as success
if (strcmp(m_generator->metaObject()->className(), "LocaleGeneratorBase") != 0) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment