diff --git a/src/plugins/texteditor/fontsettingspage.cpp b/src/plugins/texteditor/fontsettingspage.cpp index 7f863ebb18b..1b356b99066 100644 --- a/src/plugins/texteditor/fontsettingspage.cpp +++ b/src/plugins/texteditor/fontsettingspage.cpp @@ -350,8 +350,6 @@ QColor FormatDescription::defaultForeground(TextStyle id) return QColor(0x00, 0x00, 0x33); } else if (id == C_SEARCH_RESULT_ALT2) { return QColor(0x33, 0x00, 0x00); - } else if (id == C_SEARCH_RESULT_CONTAINING_FUNCTION) { - return Qt::black; } return QColor(); } @@ -368,8 +366,6 @@ QColor FormatDescription::defaultBackground(TextStyle id) return QColor(0xb6, 0xcc, 0xff); } else if (id == C_SEARCH_RESULT_ALT2) { return QColor(0xff, 0xb6, 0xcc); - } else if (id == C_SEARCH_RESULT_CONTAINING_FUNCTION) { - return Qt::white; } else if (id == C_PARENTHESES) { return QColor(0xb4, 0xee, 0xb4); } else if (id == C_PARENTHESES_MISMATCH) {