1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-29 02:29:56 +01:00

Fix a segfault when unsubscribing from a podcast

This commit is contained in:
David Sansome 2012-03-09 18:57:54 +00:00
parent 1fc8b85ff6
commit f501098998

View File

@ -260,7 +260,7 @@ void PodcastService::SubscriptionAdded(const Podcast& podcast) {
void PodcastService::SubscriptionRemoved(const Podcast& podcast) {
QStandardItem* item = podcasts_by_database_id_.take(podcast.database_id());
if (item) {
item->parent()->removeRow(item->row());
model_->removeRow(item->row());
}
}