AutoTest: Move TestCodeParser and TestTreeModel ownership to plugin pimpl

Change-Id: I01b32aae894a4b419c8a067f604d5f04a2b14dfe
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-03-16 12:59:23 +01:00
parent a596421ffc
commit 7158e67612
9 changed files with 63 additions and 61 deletions

View File

@@ -60,7 +60,10 @@ void TestProjectSettings::setUseGlobalSettings(bool useGlobal)
void TestProjectSettings::activateFramework(const Core::Id &id, bool activate)
{
m_activeTestFrameworks[TestFrameworkManager::instance()->frameworkForId(id)] = activate;
ITestFramework *framework = TestFrameworkManager::instance()->frameworkForId(id);
m_activeTestFrameworks[framework] = activate;
if (!activate)
framework->resetRootNode();
}
void TestProjectSettings::load()