diff options
author | David Schulz <david.schulz@theqtcompany.com> | 2015-05-27 14:32:44 +0200 |
---|---|---|
committer | David Schulz <david.schulz@theqtcompany.com> | 2015-06-03 06:48:06 +0000 |
commit | 3ceec865774f25891caf66d5f427a95e450c72ec (patch) | |
tree | 6a2fd7cc808174cc7df273c69dc47375d64b8b67 /src/plugins/texteditor/textmark.h | |
parent | 19f63a5d8a992f12914055603e8ff3c85ed6a451 (diff) |
Editor: Add Check for TextMark color definition.
Change-Id: I805402a5ec9595bd31b6d72c5934198c77a1f402
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/texteditor/textmark.h')
-rw-r--r-- | src/plugins/texteditor/textmark.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/textmark.h b/src/plugins/texteditor/textmark.h index e91ba41da3..0d68ae3232 100644 --- a/src/plugins/texteditor/textmark.h +++ b/src/plugins/texteditor/textmark.h @@ -81,6 +81,7 @@ public: virtual void dragToLine(int lineNumber); static Utils::Theme::Color categoryColor(Core::Id category); + static bool categoryHasColor(Core::Id category); static void setCategoryColor(Core::Id category, Utils::Theme::Color color); void setIcon(const QIcon &icon); // call this if the icon has changed. |