When image is an Array, take the first one

Authored by broulik on Feb 24 2020, 8:14 AM.

Description

When image is an Array, take the first one

Itinerary expects image as a QUrl, so when a websites uses an Array with multiple images
(not sure how compliant that is but very common), at least take the first one so we have something to show.

Differential Revision: https://phabricator.kde.org/D27600

Details

Committed
broulikFeb 24 2020, 8:14 AM
Differential Revision
D27600: When image is an Array, take the first one
Parents
R1003:d36a42280831: Apply type_filters on normalized type as per comment
Branches
Unknown
Tags
Unknown