summaryrefslogtreecommitdiff
path: root/src/plugins/vcsbase/diffhighlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/vcsbase/diffhighlighter.cpp')
-rw-r--r--src/plugins/vcsbase/diffhighlighter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/diffhighlighter.cpp b/src/plugins/vcsbase/diffhighlighter.cpp
index 7628763d62..6b1ca5dee1 100644
--- a/src/plugins/vcsbase/diffhighlighter.cpp
+++ b/src/plugins/vcsbase/diffhighlighter.cpp
@@ -88,7 +88,7 @@ DiffFormats DiffHighlighterPrivate::analyzeLine(const QString &text) const
// --- DiffHighlighter
DiffHighlighter::DiffHighlighter(const QRegExp &filePattern,
QTextDocument *document) :
- QSyntaxHighlighter(document),
+ TextEditor::SyntaxHighlighter(document),
m_d(new DiffHighlighterPrivate(filePattern))
{
}