Remove no longer needed code variant for KTextEditor < 5.10

parent f404c563
...@@ -44,9 +44,6 @@ using namespace KDevelop; ...@@ -44,9 +44,6 @@ using namespace KDevelop;
QTEST_MAIN(Python::PyCompletionTest) QTEST_MAIN(Python::PyCompletionTest)
Q_DECLARE_METATYPE(QList<Python::RangeInString>) Q_DECLARE_METATYPE(QList<Python::RangeInString>)
#if KTEXTEDITOR_VERSION < QT_VERSION_CHECK(5, 10, 0)
Q_DECLARE_METATYPE(KTextEditor::Range)
#endif
static int testId = 0; static int testId = 0;
static QString basepath = "/tmp/__kdevpythoncompletiontest.dir/"; static QString basepath = "/tmp/__kdevpythoncompletiontest.dir/";
......
...@@ -47,10 +47,6 @@ ...@@ -47,10 +47,6 @@
using namespace Python; using namespace Python;
#if KTEXTEDITOR_VERSION < QT_VERSION_CHECK(5, 10, 0)
Q_DECLARE_METATYPE(KTextEditor::Range)
#endif
QTEST_MAIN(PyAstTest) QTEST_MAIN(PyAstTest)
PyAstTest::PyAstTest(QObject* parent): QObject(parent) PyAstTest::PyAstTest(QObject* parent): QObject(parent)
......
...@@ -39,10 +39,6 @@ ...@@ -39,10 +39,6 @@
using namespace Python; using namespace Python;
#if KTEXTEDITOR_VERSION < QT_VERSION_CHECK(5, 10, 0)
Q_DECLARE_METATYPE(KTextEditor::Range)
#endif
QTEST_MAIN(PyCythonTest) QTEST_MAIN(PyCythonTest)
PyCythonTest::PyCythonTest(QObject* parent): QObject(parent) PyCythonTest::PyCythonTest(QObject* parent): QObject(parent)
......
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