Theme: Remove InvalidColor

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

Change-Id: I1c7f76f0a6dc83338798cdd7450e1468e8ce39a7
Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Orgad Shaneh
2015-05-22 08:54:35 +03:00
committed by Orgad Shaneh
parent 34008650df
commit 6d67f9429e
2 changed files with 1 additions and 2 deletions

View File

@@ -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)