summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/syntaxhighlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/syntaxhighlighter.cpp')
-rw-r--r--src/plugins/texteditor/syntaxhighlighter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/texteditor/syntaxhighlighter.cpp b/src/plugins/texteditor/syntaxhighlighter.cpp
index f5a3dd437d..debb4fedde 100644
--- a/src/plugins/texteditor/syntaxhighlighter.cpp
+++ b/src/plugins/texteditor/syntaxhighlighter.cpp
@@ -37,6 +37,8 @@
#include <utils/algorithm.h>
#include <utils/qtcassert.h>
+#include <QTextDocument>
+#include <QPointer>
#include <qtimer.h>
#include <math.h>