diff --git a/src/podcasts/gpoddersync.cpp b/src/podcasts/gpoddersync.cpp index 76084ebfc..bf8e15067 100644 --- a/src/podcasts/gpoddersync.cpp +++ b/src/podcasts/gpoddersync.cpp @@ -170,7 +170,7 @@ void GPodderSync::DeviceUpdatesFailed(mygpo::DeviceUpdatesPtr reply) { void GPodderSync::DeviceUpdatesFinished(mygpo::DeviceUpdatesPtr reply) { // Remember episode actions for each podcast, so when we add a new podcast // we can apply the actions immediately. - QMap > episodes_by_podcast; + QMap> episodes_by_podcast; for (mygpo::EpisodePtr episode : reply->updateList()) { episodes_by_podcast[episode->podcastUrl()].append(episode); } @@ -235,7 +235,7 @@ void GPodderSync::NewPodcastLoaded(PodcastUrlLoaderReply* reply, } void GPodderSync::ApplyActions( - const QList >& actions, + const QList>& actions, PodcastEpisodeList* episodes) { for (PodcastEpisodeList::iterator it = episodes->begin(); it != episodes->end(); ++it) { diff --git a/src/podcasts/podcastdownloader.cpp b/src/podcasts/podcastdownloader.cpp index 1ec266fdb..05d7ae707 100644 --- a/src/podcasts/podcastdownloader.cpp +++ b/src/podcasts/podcastdownloader.cpp @@ -64,13 +64,13 @@ void Task::reading() { } } void Task::finishedPublic() { - disconnect(repl.get(), SIGNAL(readyRead()), 0, 0); - disconnect(repl.get(), SIGNAL(downloadProgress(qint64, qint64)), 0, 0); - disconnect(repl.get(), SIGNAL(finished()), 0, 0); - emit ProgressChanged(episode_, PodcastDownload::NotDownloading, 0); - // Delete the file - file_->remove(); - emit finished(this); + disconnect(repl.get(), SIGNAL(readyRead()), 0, 0); + disconnect(repl.get(), SIGNAL(downloadProgress(qint64, qint64)), 0, 0); + disconnect(repl.get(), SIGNAL(finished()), 0, 0); + emit ProgressChanged(episode_, PodcastDownload::NotDownloading, 0); + // Delete the file + file_->remove(); + emit finished(this); } void Task::finishedInternal() {