Fix translations on a plasma wayland session

Was using the wrong kconfiggroup
wilder-5.18
Aleix Pol 6 years ago
parent db54291a8f
commit 32fbe20e30
  1. 2
      startkde/startplasma.cpp

@ -133,7 +133,7 @@ void runStartupConfig()
} }
KConfigGroup languageConfig = KConfigGroup(&config, "Translations"); KConfigGroup languageConfig = KConfigGroup(&config, "Translations");
const QString value = formatsConfig.readEntry("LANGUAGE", QString()); const QString value = languageConfig.readEntry("LANGUAGE", QString());
if (!value.isEmpty()) { if (!value.isEmpty()) {
qputenv("LANGUAGE", value.toUtf8()); qputenv("LANGUAGE", value.toUtf8());
} }

Loading…
Cancel
Save