forked from qt-creator/qt-creator
Apply static pattern to TextEditorSetting
Change-Id: I4e6f573d893c0aa2bb4ca9812fc8db2961dac172 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -801,7 +801,7 @@ void SyntaxHighlighter::setTextFormatCategories(const QVector<TextEditor::TextSt
|
||||
{
|
||||
Q_D(SyntaxHighlighter);
|
||||
d->formatCategories = categories;
|
||||
d->updateFormatsForCategories(TextEditorSettings::instance()->fontSettings());
|
||||
d->updateFormatsForCategories(TextEditorSettings::fontSettings());
|
||||
}
|
||||
|
||||
QTextCharFormat SyntaxHighlighter::formatForCategory(int category) const
|
||||
|
||||
Reference in New Issue
Block a user