summaryrefslogtreecommitdiffstats
path: root/akregator/src/treenodeitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-05 18:37:59 -0500
committerTimothy Pearson <[email protected]>2014-10-05 18:37:59 -0500
commitfaf37227f5194237dbda5973c21d05de3633ea03 (patch)
tree2fe295ab340901ac71d610e233ef651a7c3404d3 /akregator/src/treenodeitem.cpp
parent352bfda9b44902c28c0f8cb7beaa9decd39fb6d6 (diff)
downloadtdepim-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/treenodeitem.cpp')
-rw-r--r--akregator/src/treenodeitem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/akregator/src/treenodeitem.cpp b/akregator/src/treenodeitem.cpp
index 4e60ea9af..eaf52cd2c 100644
--- a/akregator/src/treenodeitem.cpp
+++ b/akregator/src/treenodeitem.cpp
@@ -22,6 +22,8 @@
without including the source code for TQt in the source distribution.
*/
+#include "akregatorconfig.h"
+
#include "treenode.h"
#include "treenodeitem.h"
#include "folderitem.h"
@@ -151,7 +153,7 @@ void TreeNodeItem::paintCell( TQPainter * p, const TQColorGroup & cg,
p->drawText( x, 0, width-m-x, height(), align | AlignVCenter, oldText, -1, &br );
if ( !isSelected() )
- p->setPen( TQt::blue ); // TODO: configurable
+ p->setPen( Settings::unreadTextColor() );
p->drawText( br.right(), 0, width-m-br.right(), height(),
align | AlignVCenter, txt );