mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
RSS code clean up
This commit is contained in:
parent
1905a6f0d1
commit
32a6c89c8c
6 changed files with 13 additions and 8 deletions
|
@ -508,7 +508,7 @@ void RSSImp::refreshTextBrowser() {
|
|||
m_currentArticle = item;
|
||||
}
|
||||
RssFeed *stream = m_feedList->getRSSItemFromUrl(item->data(Article::FeedUrlRole).toString());
|
||||
RssArticle &article = stream->getItem(item->data(Article::IdRole).toString());
|
||||
RssArticle article = stream->getItem(item->data(Article::IdRole).toString());
|
||||
QString html;
|
||||
html += "<div style='border: 2px solid red; margin-left: 5px; margin-right: 5px; margin-bottom: 5px;'>";
|
||||
html += "<div style='background-color: #678db2; font-weight: bold; color: #fff;'>"+article.title() + "</div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue