Skip to content

Commit

Permalink
[nemo-qml-plugin-systemsettings] Make language region optional. Contr…
Browse files Browse the repository at this point in the history
…ibutes to JB#34026
  • Loading branch information
pvuorela committed Feb 10, 2016
1 parent 528dfb2 commit 112be3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languagemodel.cpp
Expand Up @@ -222,7 +222,7 @@ QList<Language> LanguageModel::supportedLanguages()
QString region = settings.value("Region").toString();
//% "Region: %1"
QString regionLabel = settings.value("RegionLabel", qtTrId("settings_system-la-region")).toString();
if (name.isEmpty() || localeCode.isEmpty() || region.isEmpty()) {
if (name.isEmpty() || localeCode.isEmpty()) {
continue;
}
Language newLanguage(name, localeCode, region, regionLabel);
Expand Down

0 comments on commit 112be3f

Please sign in to comment.