Don't change text color for spelling mistakes

Fix #98
This commit is contained in:
Carl Schwan
2021-06-07 14:42:46 +02:00
parent efb70287b9
commit 0d0f180c3e

View File

@@ -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"});