mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-03 04:37:33 +01:00
Merge pull request #5200 from Chocobozzz/difm2
show settings dialog for difm when populate streams without a premium account
This commit is contained in:
commit
48ff15d29c
@ -125,6 +125,11 @@ void DigitallyImportedServiceBase::RefreshStreamsFinished(QNetworkReply* reply,
|
||||
void DigitallyImportedServiceBase::PopulateStreams() {
|
||||
if (root_->hasChildren()) root_->removeRows(0, root_->rowCount());
|
||||
|
||||
if (!is_premium_account()) {
|
||||
ShowSettingsDialog();
|
||||
return;
|
||||
}
|
||||
|
||||
// Add each stream to the model
|
||||
for (const DigitallyImportedClient::Channel& channel : saved_channels_) {
|
||||
Song song;
|
||||
|
Loading…
x
Reference in New Issue
Block a user