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/treenodeitem.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/treenodeitem.cpp')
-rw-r--r-- | akregator/src/treenodeitem.cpp | 4 |
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 ); |