Commit 6d67f942 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Theme: Remove InvalidColor

It's not defined anyway. Use ProjectExplorer_TaskWarn_TextMarkColor as
default text mark color.

Change-Id: I1c7f76f0a6dc83338798cdd7450e1468e8ce39a7
Reviewed-by: default avatarNikita Baryshnikov <>
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
parent 34008650
......@@ -58,7 +58,6 @@ public:
enum Color {
......@@ -227,7 +227,7 @@ bool TextMarkRegistry::remove(TextMark *mark)
Theme::Color TextMarkRegistry::categoryColor(Id category)
return m_colors.contains(category) ? m_colors[category] : Theme::InvalidColor;
return m_colors.value(category, Theme::ProjectExplorer_TaskWarn_TextMarkColor);
void TextMarkRegistry::setCategoryColor(Id category, Theme::Color color)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment