fallback for icons

This commit is contained in:
Martin Rotter 2021-03-02 08:39:22 +01:00
parent 26027d15e4
commit e4e0ef39a7

View File

@ -426,6 +426,11 @@ StandardFeed* StandardFeed::guessFeed(StandardFeed::SourceType source_type,
} }
} }
if (source_type == SourceType::Url && icon_possible_locations.isEmpty()) {
// We have no source for feed icon, we use the URL of the feed file itself.
icon_possible_locations.append({ source, false });
}
// Try to obtain icon. // Try to obtain icon.
QIcon icon_data; QIcon icon_data;