Skip to content

Commit

Permalink
SmartPlaylistSearchPreview: Remove early SetItemDelegates
Browse files Browse the repository at this point in the history
It's called too early before MoodbarLoader is set, Init() already calls SetItemDelegates.

Fixes #1609
  • Loading branch information
jonaski committed Nov 22, 2024
1 parent 77ea572 commit c3aa885
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/smartplaylists/smartplaylistsearchpreview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c3aa885

Please sign in to comment.