Skip to content

qt: use required property for model roles in PlaylistDelegate, and display url if artist is not available

Qt also recommends using required properties:

In most cases you should use required properties to pass model data into your delegates. If a delegate contains required properties, the QML engine will check if the name of a required property matches that of a model role. If so, that property will be bound to the corresponding value from the model.

Request review @chub.

Merge request reports

Loading