Add default feed icon

This commit is contained in:
Tobias Fella 2020-07-29 22:10:39 +02:00
parent 88eab5b96f
commit c8dea42485
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ if(ANDROID)
mail-sent
globe
data-error
rss
)
else()
target_link_libraries(alligator PRIVATE Qt5::Widgets)

View File

@ -34,7 +34,7 @@ Item {
property QtObject feed
Kirigami.Icon {
source: Fetcher.image(feed.image)
source: feed.image === "" ? "rss" : Fetcher.image(feed.image)
width: height
height: parent.height
visible: !busy.visible