From faf37227f5194237dbda5973c21d05de3633ea03 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 5 Oct 2014 18:37:59 -0500 Subject: Add configuration options to set Akregator read and unread text colors This resolves Bug 1696 --- akregator/src/treenodeitem.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'akregator/src/treenodeitem.cpp') 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 ); -- cgit v1.2.1