InternetSongsView: 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:10:24 -08:00 committed by Jonas Kvinge
parent 8f89bf6402
commit 667548f3ed
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ InternetSongsView::InternetSongsView(Application *app, InternetServicePtr servic
ui_->filter_widget->SetSettingsGroup(settings_group);
ui_->filter_widget->Init(service_->songs_collection_model());
QAction *action_configure = new QAction(IconLoader::Load("configure"), tr("Configure %1...").arg(Song::TextForSource(service_->source())), this);
QAction *action_configure = new QAction(IconLoader::Load("configure"), tr("Configure %1...").arg(Song::DescriptionForSource(service_->source())), this);
QObject::connect(action_configure, &QAction::triggered, this, &InternetSongsView::OpenSettingsDialog);
ui_->filter_widget->AddMenuAction(action_configure);