diff --git a/src/internet/vkservice.cpp b/src/internet/vkservice.cpp index 9e7449a2d..1a256b2a9 100644 --- a/src/internet/vkservice.cpp +++ b/src/internet/vkservice.cpp @@ -1102,25 +1102,25 @@ void VkService::SongStarting(const Song& song) { audio_provider_->setBroadcast(id.audio_id, id.owner_id, IdList()); NewClosure(reply, SIGNAL(resultReady(QVariant)), this, SLOT(BroadcastChangeReceived(Vreen::IntReply*)), reply); - connect(app_->player(), SIGNAL(Stopped()), this, SLOT(SongStoped()), + connect(app_->player(), SIGNAL(Stopped()), this, SLOT(SongStopped()), Qt::UniqueConnection); qLog(Debug) << "Broadcasting" << song.artist() << "-" << song.title(); } } -void VkService::SongSkiped() { +void VkService::SongSkipped() { current_song_.set_valid(false); cache_->BreakCurrentCaching(); } -void VkService::SongStoped() { +void VkService::SongStopped() { current_song_.set_valid(false); if (isBroadcasting() && HasAccount()) { auto reply = audio_provider_->resetBroadcast(IdList()); NewClosure(reply, SIGNAL(resultReady(QVariant)), this, SLOT(BroadcastChangeReceived(Vreen::IntReply*)), reply); - disconnect(app_->player(), SIGNAL(Stopped()), this, SLOT(SongStoped())); + disconnect(app_->player(), SIGNAL(Stopped()), this, SLOT(SongStopped())); qLog(Debug) << "End of broadcasting"; } } diff --git a/src/internet/vkservice.h b/src/internet/vkservice.h index 76f662882..82daa7b14 100644 --- a/src/internet/vkservice.h +++ b/src/internet/vkservice.h @@ -152,7 +152,7 @@ class VkService : public InternetService { /* Music */ void SongStarting(const Song& song); void SongStarting(const QUrl& url); // Used if song taked from cache. - void SongSkiped(); + void SongSkipped(); UrlHandler::LoadResult GetSongResult(const QUrl& url); Vreen::AudioItem GetAudioItemFromUrl(const QUrl& url); // Return random song result from group playlist. @@ -197,7 +197,7 @@ signals: void Error(Vreen::Client::Error error); /* Music */ - void SongStoped(); + void SongStopped(); void UpdateMyMusic(); void UpdateBookmarkSongs(QStandardItem* item); void UpdateAlbumSongs(QStandardItem* item); diff --git a/src/internet/vkurlhandler.cpp b/src/internet/vkurlhandler.cpp index 47818a769..5368897d2 100644 --- a/src/internet/vkurlhandler.cpp +++ b/src/internet/vkurlhandler.cpp @@ -51,7 +51,7 @@ UrlHandler::LoadResult VkUrlHandler::StartLoading(const QUrl& url) { return result; } -void VkUrlHandler::TrackSkipped() { service_->SongSkiped(); } +void VkUrlHandler::TrackSkipped() { service_->SongSkipped(); } UrlHandler::LoadResult VkUrlHandler::LoadNext(const QUrl& url) { if (url.host() == "group") {