From 667548f3ed831f1c26355c688fe0c9882be871fe Mon Sep 17 00:00:00 2001 From: buckmelanoma <43704682+buckmelanoma@users.noreply.github.com> Date: Sun, 18 Feb 2024 10:10:24 -0800 Subject: [PATCH] InternetSongsView: Use DescriptionForSource instead of TextForSource DescriptionForSource provides uppercase names in the filter menu instead of the lowercase names provided by TextForSource --- src/internet/internetsongsview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internet/internetsongsview.cpp b/src/internet/internetsongsview.cpp index 648e0488..8eff8896 100644 --- a/src/internet/internetsongsview.cpp +++ b/src/internet/internetsongsview.cpp @@ -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);