Replace RSS articles icons with SVG
Some checks failed
cpp.yaml / Replace RSS articles icons with SVG (push) Failing after 0s
js.yaml / Replace RSS articles icons with SVG (push) Failing after 0s
CI - macOS / Build (push) Has been cancelled
CI - Ubuntu / Build (push) Has been cancelled
CI - File health / Check (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (push) Has been cancelled

Closes #22335.
PR #23082.
This commit is contained in:
tehcneko 2025-08-15 18:15:33 +08:00 committed by GitHub
commit b2d6323034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 2 deletions

View file

@ -35,11 +35,13 @@
#include "base/rss/rss_article.h" #include "base/rss/rss_article.h"
#include "base/rss/rss_item.h" #include "base/rss/rss_item.h"
#include "gui/uithememanager.h" #include "gui/uithememanager.h"
#include "gui/utils.h"
ArticleListWidget::ArticleListWidget(QWidget *parent) ArticleListWidget::ArticleListWidget(QWidget *parent)
: QListWidget(parent) : QListWidget(parent)
{ {
setContextMenuPolicy(Qt::CustomContextMenu); setContextMenuPolicy(Qt::CustomContextMenu);
setIconSize(Utils::Gui::smallIconSize());
setSelectionMode(QAbstractItemView::ExtendedSelection); setSelectionMode(QAbstractItemView::ExtendedSelection);
checkInvariant(); checkInvariant();

View file

@ -334,8 +334,8 @@
<file>queued.svg</file> <file>queued.svg</file>
<file>ratio.svg</file> <file>ratio.svg</file>
<file>reannounce.svg</file> <file>reannounce.svg</file>
<file>rss_read_article.png</file> <file>rss_read_article.svg</file>
<file>rss_unread_article.png</file> <file>rss_unread_article.svg</file>
<file>security-high.svg</file> <file>security-high.svg</file>
<file>security-low.svg</file> <file>security-low.svg</file>
<file>set-location.svg</file> <file>set-location.svg</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 B

View file

@ -0,0 +1 @@
<svg width="32" height="32" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="8" fill="#9aa0a6" /></svg>

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 B

View file

@ -0,0 +1 @@
<svg width="32" height="32" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="8" fill="#1e90ff" /></svg>

After

Width:  |  Height:  |  Size: 116 B