diff options
Diffstat (limited to 'tests/auto/qml/codemodel/ecmascript7/tst_ecmascript7.cpp')
-rw-r--r-- | tests/auto/qml/codemodel/ecmascript7/tst_ecmascript7.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qml/codemodel/ecmascript7/tst_ecmascript7.cpp b/tests/auto/qml/codemodel/ecmascript7/tst_ecmascript7.cpp index 9ca768cbee..003630ab0b 100644 --- a/tests/auto/qml/codemodel/ecmascript7/tst_ecmascript7.cpp +++ b/tests/auto/qml/codemodel/ecmascript7/tst_ecmascript7.cpp @@ -3,7 +3,6 @@ #include <QString> #include <QStringList> -#include <QFutureInterface> #include <QFile> #include <QTextStream> #include <QDateTime> @@ -149,12 +148,11 @@ void tst_Ecmascript::test() ModelManagerInterface *modelManager = ModelManagerInterface::instance(); - QFutureInterface<void> result; PathsAndLanguages lPaths; QStringList paths(m_basePaths); for (auto p: paths) lPaths.maybeInsert(Utils::FilePath::fromString(p), Dialect::Qml); - ModelManagerInterface::importScan(result, ModelManagerInterface::workingCopy(), lPaths, + ModelManagerInterface::importScan(ModelManagerInterface::workingCopy(), lPaths, ModelManagerInterface::instance(), false); TestData data = testData(filename); |