1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-27 15:49:43 +01:00

SmartPlaylistSearchPreview: Remove early SetItemDelegates

It's called too early before MoodbarLoader is set, Init() already calls SetItemDelegates.

Fixes #1609
This commit is contained in:
Jonas Kvinge 2024-11-22 17:04:42 +01:00
parent 77ea5729c3
commit c3aa885a0f

View File

@ -75,7 +75,6 @@ void SmartPlaylistSearchPreview::Init(const SharedPtr<Player> player,
model_ = new Playlist(nullptr, nullptr, nullptr, collection_backend_, nullptr, -1, QString(), false, this);
ui_->tree->setModel(model_);
ui_->tree->SetPlaylist(model_);
ui_->tree->SetItemDelegates();
ui_->tree->Init(player,
playlist_manager,