From 0d0f180c3e9483fc39867142fd3b25a2459d0d9b Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 7 Jun 2021 14:42:46 +0200 Subject: [PATCH] Don't change text color for spelling mistakes Fix #98 --- src/spellcheckhighlighter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/spellcheckhighlighter.cpp b/src/spellcheckhighlighter.cpp index bd28dd005..c1f8fa7e8 100644 --- a/src/spellcheckhighlighter.cpp +++ b/src/spellcheckhighlighter.cpp @@ -42,7 +42,6 @@ SpellcheckHighlighter::SpellcheckHighlighter(QTextDocument *parent) mLanguageGuesser{new Sonnet::GuessLanguage()} { //Danger red from our color scheme - mErrorFormat.setForeground(QColor{"#ed1515"}); mErrorFormat.setUnderlineColor(QColor{"#ed1515"}); mErrorFormat.setUnderlineStyle(QTextCharFormat::SingleUnderline); mQuoteFormat.setForeground(QColor{"#7f8c8d"});