fallback for icons
This commit is contained in:
parent
26027d15e4
commit
e4e0ef39a7
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue