aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/gtest/gtesttreeitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/autotest/gtest/gtesttreeitem.h')
-rw-r--r--src/plugins/autotest/gtest/gtesttreeitem.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/autotest/gtest/gtesttreeitem.h b/src/plugins/autotest/gtest/gtesttreeitem.h
index 3b93116ffc..3e5c1620a1 100644
--- a/src/plugins/autotest/gtest/gtesttreeitem.h
+++ b/src/plugins/autotest/gtest/gtesttreeitem.h
@@ -46,8 +46,12 @@ public:
Q_FLAGS(TestState)
Q_DECLARE_FLAGS(TestStates, TestState)
- explicit GTestTreeItem(const QString &name = QString(), const QString &filePath = QString(),
- Type type = Root) : TestTreeItem(name, filePath, type), m_state(Enabled) {}
+ explicit GTestTreeItem(ITestFramework *framework,
+ const QString &name = QString(),
+ const QString &filePath = QString(),
+ Type type = Root)
+ : TestTreeItem(framework, name, filePath, type), m_state(Enabled)
+ {}
TestTreeItem *copyWithoutChildren() override;
QVariant data(int column, int role) const override;