diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-05 18:37:59 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-05 18:37:59 -0500 |
commit | faf37227f5194237dbda5973c21d05de3633ea03 (patch) | |
tree | 2fe295ab340901ac71d610e233ef651a7c3404d3 /akregator/src/akregator_view.cpp | |
parent | 352bfda9b44902c28c0f8cb7beaa9decd39fb6d6 (diff) | |
download | tdepim-faf37227f5194237dbda5973c21d05de3633ea03.tar.gz tdepim-faf37227f5194237dbda5973c21d05de3633ea03.zip |
Add configuration options to set Akregator read and unread text colors
This resolves Bug 1696
Diffstat (limited to 'akregator/src/akregator_view.cpp')
-rw-r--r-- | akregator/src/akregator_view.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/akregator/src/akregator_view.cpp b/akregator/src/akregator_view.cpp index fa8691750..a65adf39f 100644 --- a/akregator/src/akregator_view.cpp +++ b/akregator/src/akregator_view.cpp @@ -109,6 +109,7 @@ class View::EditNodePropertiesVisitor : public TreeNodeVisitor { public: EditNodePropertiesVisitor(View* view) : m_view(view) {} + virtual ~EditNodePropertiesVisitor() {} virtual bool visitTagNode(TagNode* node) { @@ -142,6 +143,7 @@ class View::DeleteNodeVisitor : public TreeNodeVisitor { public: DeleteNodeVisitor(View* view) : m_view(view) {} + virtual ~DeleteNodeVisitor() {} virtual bool visitTagNode(TagNode* node) { @@ -379,6 +381,13 @@ void View::slotSettingsChanged() // if tagging is hidden, show only feed list m_listTabWidget->setViewMode(Settings::showTaggingGUI() ? ListTabWidget::verticalTabs : ListTabWidget::single); + // In case text colors changed, repaint to apply changes immediately + if (m_articleList->isShown()) { + m_articleList->repaintContents(); + } + if (m_feedListView->isShown()) { + m_feedListView->repaintContents(); + } } void View::slotOnShutdown() |