show settings dialog for difm when populate streams without a premium account

This commit is contained in:
Chocobozzz 2016-01-13 19:29:36 +01:00
parent c4c094aa71
commit ef58ce27e5
1 changed files with 5 additions and 0 deletions

View File

@ -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;