summaryrefslogtreecommitdiff
path: root/src/plugins/todo/keyword.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-01-05 17:13:42 +0100
committerUlf Hermann <ulf.hermann@qt.io>2017-03-16 16:25:58 +0000
commita45b0d2c05cfe5a704a4371c4bd14696e0c32564 (patch)
tree9760268a40f2d82621df0b48db9d42583fccd3f5 /src/plugins/todo/keyword.cpp
parentcd31fd1a60d8e8e266f9b1b095128de5f549171a (diff)
downloadqt-creator-a45b0d2c05cfe5a704a4371c4bd14696e0c32564.tar.gz
Make TODO plugin theme aware
Use the theme's colors by default and color the text rather than the background of items. Task-number: QTCREATORBUG-17532 Change-Id: I65a2d6da45ce7547b05463a2fb014f8230d0c336 Reviewed-by: Serhii Moroz <frost.asm@gmail.com> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/todo/keyword.cpp')
-rw-r--r--src/plugins/todo/keyword.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/todo/keyword.cpp b/src/plugins/todo/keyword.cpp
index 00f9232323..7516d5bed1 100644
--- a/src/plugins/todo/keyword.cpp
+++ b/src/plugins/todo/keyword.cpp
@@ -25,11 +25,12 @@
****************************************************************************/
#include "keyword.h"
+#include <utils/theme/theme.h>
namespace Todo {
namespace Internal {
-Keyword::Keyword() : color(Qt::white)
+Keyword::Keyword() : color(Utils::creatorTheme()->color(Utils::Theme::TextColorNormal))
{
}