Commit d17c20d2 authored by Halla Rempt's avatar Halla Rempt
Browse files

Do not show the language switch warning when going back to the default

parent a5edc825
......@@ -288,23 +288,7 @@ void KSwitchLanguageDialog::slotOk()
void KSwitchLanguageDialog::slotDefault()
const QStringList defaultLanguages = d->applicationLanguageList();
// read back the new default
QString language = QString::fromLatin1(getApplicationSpecificLanguage("en_US"));
if (defaultLanguages != (QStringList() << language)) {
i18n("The language for this application has been changed. The change will take effect the next time the application is started."), //text
i18n("Application Language Changed"), //caption
QStringLiteral("ApplicationLanguageChangedWarning") //dontShowAgainName
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