aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/testresultmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/autotest/testresultmodel.cpp')
-rw-r--r--src/plugins/autotest/testresultmodel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/autotest/testresultmodel.cpp b/src/plugins/autotest/testresultmodel.cpp
index 434d6474103..f686692faad 100644
--- a/src/plugins/autotest/testresultmodel.cpp
+++ b/src/plugins/autotest/testresultmodel.cpp
@@ -4,7 +4,6 @@
#include "testresultmodel.h"
#include "autotesticons.h"
-#include "autotestplugin.h"
#include "testrunner.h"
#include "testsettings.h"
#include "testtreeitem.h"
@@ -274,7 +273,7 @@ void TestResultModel::addTestResult(const TestResult &testResult, bool autoExpan
TestResultItem *newItem = new TestResultItem(testResult);
TestResultItem *root = nullptr;
- if (AutotestPlugin::settings()->displayApplication) {
+ if (TestSettings::instance()->displayApplication()) {
const QString application = testResult.id();
if (!application.isEmpty()) {
root = rootItem()->findFirstLevelChild([&application](TestResultItem *child) {