forked from qt-creator/qt-creator
QtSupport: Remove dead code
"SourcePath" was meant to be set by the installer to make it easier to find the installed source folder for a specific Qt version. This was never implemented in the Installer and a workaround was later created for it. This patch removes the dead code. Change-Id: I1c2f5c10e37a7df4643327d1071db9e2e62c8212 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -847,10 +847,8 @@ DebuggerRunTool::DebuggerRunTool(RunControl *runControl, AllowTerminal allowTerm
|
||||
m_runParameters.cppEngineType = DebuggerKitAspect::engineType(kit);
|
||||
m_runParameters.version = DebuggerKitAspect::version(kit);
|
||||
|
||||
if (QtSupport::QtVersion *qtVersion = QtSupport::QtKitAspect::qtVersion(kit)) {
|
||||
m_runParameters.qtPackageSourceLocation = qtVersion->qtPackageSourcePath().toString();
|
||||
if (QtSupport::QtVersion *qtVersion = QtSupport::QtKitAspect::qtVersion(kit))
|
||||
m_runParameters.qtSourceLocation = qtVersion->sourcePath();
|
||||
}
|
||||
|
||||
if (auto aspect = runControl->aspect<DebuggerRunConfigurationAspect>()) {
|
||||
if (!aspect->useCppDebugger)
|
||||
|
Reference in New Issue
Block a user