InternetSearchView: Use DescriptionForSource instead of TextForSource

DescriptionForSource provides uppercase names in the filter menu instead of the lowercase names provided by TextForSource
This commit is contained in:
buckmelanoma 2024-02-18 10:46:56 -08:00 committed by Jonas Kvinge
parent 667548f3ed
commit 593a04d047
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ void InternetSearchView::Init(Application *app, InternetServicePtr service) {
QMenu *settings_menu = new QMenu(this);
settings_menu->addActions(group_by_actions_->actions());
settings_menu->addSeparator();
settings_menu->addAction(IconLoader::Load("configure"), tr("Configure %1...").arg(Song::TextForSource(service_->source())), this, &InternetSearchView::OpenSettingsDialog);
settings_menu->addAction(IconLoader::Load("configure"), tr("Configure %1...").arg(Song::DescriptionForSource(service_->source())), this, &InternetSearchView::OpenSettingsDialog);
ui_->settings->setMenu(settings_menu);
swap_models_timer_->setSingleShot(true);