aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/syntaxhighlighter.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-09-19 17:59:27 +0200
committerhjk <hjk121@nokiamail.com>2013-09-20 10:28:22 +0200
commitca15d0aa95fec76ce41c72ed747894969c978986 (patch)
tree51fb42c1230f6a7ef43ad685e90134f916db16f0 /src/plugins/texteditor/syntaxhighlighter.cpp
parentbd10688a624ccca8ee34650915c4054138e4c35d (diff)
Apply static pattern to TextEditorSetting
Change-Id: I4e6f573d893c0aa2bb4ca9812fc8db2961dac172 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/texteditor/syntaxhighlighter.cpp')
-rw-r--r--src/plugins/texteditor/syntaxhighlighter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/syntaxhighlighter.cpp b/src/plugins/texteditor/syntaxhighlighter.cpp
index 0ad601f162e..f2483f9e58c 100644
--- a/src/plugins/texteditor/syntaxhighlighter.cpp
+++ b/src/plugins/texteditor/syntaxhighlighter.cpp
@@ -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