aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp')
-rw-r--r--tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp b/tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp
index 1a09449c114..e550383724f 100644
--- a/tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp
+++ b/tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp
@@ -3,7 +3,6 @@
#include <QString>
#include <QStringList>
-#include <QFutureInterface>
#include <QFile>
#include <QTextStream>
#include <QDateTime>
@@ -122,13 +121,12 @@ void tst_Dependencies::test()
ModelManagerInterface *modelManager = ModelManagerInterface::instance();
- QFutureInterface<void> result;
PathsAndLanguages lPaths;
QStringList paths(m_basePaths);
paths << m_path;
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);
ModelManagerInterface::instance()->test_joinAllThreads();
TestData data = testData(filename);