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:
parent
1fc8b85ff6
commit
f501098998
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user