diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-01-05 17:13:42 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-16 16:25:58 +0000 |
commit | a45b0d2c05cfe5a704a4371c4bd14696e0c32564 (patch) | |
tree | 9760268a40f2d82621df0b48db9d42583fccd3f5 /src/plugins/todo/keyword.cpp | |
parent | cd31fd1a60d8e8e266f9b1b095128de5f549171a (diff) | |
download | qt-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.cpp | 3 |
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)) { } |