mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Improve color scheme change detection
* Fix pieces bars won't correctly detect color scheme change with Qt 6.8. * Update RSS article content view on color scheme changed. PR #21625. Closes #21327.
This commit is contained in:
parent
ab8d0d1dae
commit
3ab9fe55e5
3 changed files with 91 additions and 60 deletions
|
@ -40,6 +40,11 @@ class QTreeWidgetItem;
|
|||
class ArticleListWidget;
|
||||
class FeedListWidget;
|
||||
|
||||
namespace RSS
|
||||
{
|
||||
class Article;
|
||||
}
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class RSSWidget;
|
||||
|
@ -85,6 +90,9 @@ private slots:
|
|||
void handleUnreadCountChanged();
|
||||
|
||||
private:
|
||||
bool eventFilter(QObject *obj, QEvent *event) override;
|
||||
void renderArticle(const RSS::Article *article) const;
|
||||
|
||||
Ui::RSSWidget *m_ui = nullptr;
|
||||
ArticleListWidget *m_articleListWidget = nullptr;
|
||||
FeedListWidget *m_feedListWidget = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue