bool PodcastChannel::operator<(const PodcastChannel &other) const { if (m_title < other.title() ) { return true; } else { return false; } }
void PodcatcherUI::onRefreshEpisodes(int channelId) { PodcastChannel *channel = m_pManager.podcastChannel(channelId); qDebug() << "Refreshing channel: " << channelId << channel->title(); if (channel == 0) { qWarning() << "Got NULL episode!"; return; } m_pManager.refreshPodcastChannelEpisodes(channel, true); }