show settings dialog for difm when populate streams without a premium account
(cherry picked from commit ef58ce27e5dc4d1313153647a6d8a35f46d766db)
This commit is contained in:
parent
08e6b9092a
commit
bcd769c25a
@ -130,6 +130,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