summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-20 11:52:30 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-20 11:52:30 (GMT)
commit67685ec3877c45d06ba31de9cce71eab64aef219 (patch)
treea373cc3d80a05609475bda439a24d81b08368ced
parenteb6ff67d51b76dd9afd9df064362a4d095ae0ca3 (diff)
Use htmlhighlighter when necessary
-rw-r--r--messageviewer/src/widgets/mailsourcewebengineviewer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/messageviewer/src/widgets/mailsourcewebengineviewer.cpp b/messageviewer/src/widgets/mailsourcewebengineviewer.cpp
index e216b6e..bf2ca52 100644
--- a/messageviewer/src/widgets/mailsourcewebengineviewer.cpp
+++ b/messageviewer/src/widgets/mailsourcewebengineviewer.cpp
@@ -24,13 +24,14 @@ using namespace MessageViewer;
#include "mailsourceviewtextbrowserwidget.h"
#include "messageviewer/messageviewerutil.h"
#include "findbar/findbarsourceview.h"
-#include <kpimtextedit/htmlhighlighter.h>
#include "kpimtextedit/slidecontainer.h"
#ifdef KDEPIM_KF5SYNTAXHIGHLIGHTING_SUPPORT
#include <SyntaxHighlighting/SyntaxHighlighter>
#include <SyntaxHighlighting/Definition>
#include <SyntaxHighlighting/Theme>
+#else
+#include <kpimtextedit/htmlhighlighter.h>
#endif
#include "PimCommon/PimUtil"