fix #807
This commit is contained in:
parent
ae65c638d5
commit
2143e5e685
1 changed files with 8 additions and 0 deletions
|
@ -553,6 +553,14 @@ RootItem* FeedlyNetwork::decodeCollections(const QByteArray& json,
|
||||||
feed->setDescription(qApp->web()->stripTags(fee_obj[QSL("description")].toString()));
|
feed->setDescription(qApp->web()->stripTags(fee_obj[QSL("description")].toString()));
|
||||||
feed->setCustomId(fee_obj[QSL("id")].toString());
|
feed->setCustomId(fee_obj[QSL("id")].toString());
|
||||||
|
|
||||||
|
if (feed->title().isEmpty()) {
|
||||||
|
feed->setTitle(feed->description());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (feed->title().isEmpty()) {
|
||||||
|
feed->setTitle(feed->source());
|
||||||
|
}
|
||||||
|
|
||||||
if (obtain_icons) {
|
if (obtain_icons) {
|
||||||
QIcon icon;
|
QIcon icon;
|
||||||
auto result = NetworkFactory::downloadIcon({{fee_obj[QSL("iconUrl")].toString(), true},
|
auto result = NetworkFactory::downloadIcon({{fee_obj[QSL("iconUrl")].toString(), true},
|
||||||
|
|
Loading…
Add table
Reference in a new issue