Commit f163339c authored by Milian Wolff's avatar Milian Wolff
Browse files

Fix compile with older KTextEditor.

CCBUG: 354711
parent c09ddbc7
...@@ -40,6 +40,10 @@ ...@@ -40,6 +40,10 @@
#include <QtTest/QTest> #include <QtTest/QTest>
#include <QLoggingCategory> #include <QLoggingCategory>
#include <ktexteditor_version.h>
#if KTEXTEDITOR_VERSION < QT_VERSION_CHECK(5, 10, 0)
Q_DECLARE_METATYPE(KTextEditor::Cursor);
#endif
using namespace KDevelop; using namespace KDevelop;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment