Skip to content

Commit

Permalink
[qt] Exclude service languages from map language menu
Browse files Browse the repository at this point in the history
Signed-off-by: Ferenc Géczi <[email protected]>
  • Loading branch information
Ferenc- authored and vng committed Nov 18, 2024
1 parent 4227cbe commit 1e8a52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qt/preferences_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace qt
// So we ensure that it returns false here.
mapLanguageComboBox->setStyleSheet("QComboBox { combobox-popup: 0; }");
mapLanguageComboBox->setMaxVisibleItems(10);
StringUtf8Multilang::Languages const & supportedLanguages = StringUtf8Multilang::GetSupportedLanguages();
StringUtf8Multilang::Languages const & supportedLanguages = StringUtf8Multilang::GetSupportedLanguages(/* includeServiceLangs */ false);
QStringList languagesList = QStringList();
for (auto const & language : supportedLanguages)
languagesList << QString::fromStdString(std::string(language.m_name));
Expand Down

0 comments on commit 1e8a52c

Please sign in to comment.