AutoTest: Fix debugging of QuickTests

Fixes: QTCREATORBUG-23709
Change-Id: Ib728fe0c4ec4eb99759fcc324e987e3866be42f6
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2020-03-11 10:41:25 +01:00
parent 7c7c5d5a4f
commit effb6133fd

View File

@@ -57,10 +57,9 @@ public:
if (auto debuggable = dynamic_cast<DebuggableTestConfiguration *>(config))
enableQuick = debuggable->mixedDebugging();
if (auto debugAspect = aspect<Debugger::DebuggerRunConfigurationAspect>()) {
debugAspect->setUseQmlDebugger(enableQuick);
ProjectExplorer::ProjectExplorerPlugin::instance()->updateRunActions();
}
auto debugAspect = addAspect<Debugger::DebuggerRunConfigurationAspect>(parent);
debugAspect->setUseQmlDebugger(enableQuick);
ProjectExplorer::ProjectExplorerPlugin::instance()->updateRunActions();
m_testConfig = config;
}