mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-30 17:15:01 +01:00
fallback for icons
This commit is contained in:
parent
26027d15e4
commit
e4e0ef39a7
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user