Skip to content

Commit

Permalink
revuo: add link to whole issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tobtoht committed Oct 5, 2023
1 parent 10ddabb commit 48cdd21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/revuo/RevuoWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ void RevuoWidget::updateItems(const QList<QSharedPointer<RevuoItem>> &items) {
for (const auto &newsbyte : item->newsbytes) {
text += "<p> • " + newsbyte + "</p>\n";
}
text += "<br>\nEnjoy Revuo? Consider a <a href=\"feather://donate-revuo\">donation</a> to the author.";
text += QString("<br>\n<a href=\"%1\">Read the whole issue in your browser</a>").arg(item->url);
text += "<br><br>\nEnjoy Revuo? Consider a <a href=\"feather://donate-revuo\">donation</a> to the author.";

m_items[item->title] = text;
m_links[item->title] = item->url;
Expand Down

0 comments on commit 48cdd21

Please sign in to comment.