Editor: set default text foreground color explicit

Amends 9182d4eda7.

Fixes: QTCREATORBUG-24352
Change-Id: I16171874cf2f2e9fde95b404f7510a502a39f26e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2020-07-15 14:57:59 +02:00
parent c0c5773345
commit e978f59654
2 changed files with 4 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ FormatDescriptions TextEditorSettingsPrivate::initialFormats()
formatDescr.emplace_back(C_TEXT, tr("Text"),
tr("Generic text and punctuation tokens.\n"
"Applied to text that matched no other rule."),
Format{QColor{}, Qt::white});
Format{Qt::black, Qt::white});
// Special categories
const QPalette p = QApplication::palette();