Skip to content

[3.34] coremodel: Correctly disconnect items-changed for player model

When a new player playlist is set, an existing "items-changed" signal is disconnected if the new playlist type matches the current playlist type. This is wrong because the new model will replace the existing one whatever its type is.

Fix the issue by disconnecting an "items-changed" signal as soon as the playlist changes.

Merge request reports