diff options
author | Marcus Tillmanns <[email protected]> | 2024-01-17 13:05:20 +0100 |
---|---|---|
committer | Marcus Tillmanns <[email protected]> | 2024-01-17 13:50:19 +0000 |
commit | f5934d69de046a33c2e710685273ba4e6451d970 (patch) | |
tree | f91f02648ef9e95004012895e8e12638f55095cf /src/plugins/debugger/cdb | |
parent | 45ef64f4f9e7b48a0edd98a60748e1656ce5c122 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/debugger/cdb')
-rw-r--r-- | src/plugins/debugger/cdb/cdbengine.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp index 8ee16141638..90035878533 100644 --- a/src/plugins/debugger/cdb/cdbengine.cpp +++ b/src/plugins/debugger/cdb/cdbengine.cpp @@ -214,16 +214,6 @@ void CdbEngine::init() m_symbolAddressCache.clear(); m_coreStopReason.reset(); - // Create local list of mappings in native separators - m_sourcePathMappings.clear(); - const QString &packageSources = runParameters().qtPackageSourceLocation; - if (!packageSources.isEmpty()) { - for (const QString &buildPath : qtBuildPaths()) { - m_sourcePathMappings.push_back({QDir::toNativeSeparators(buildPath), - QDir::toNativeSeparators(packageSources)}); - } - } - const SourcePathMap &sourcePathMap = mergePlatformQtPath(runParameters(), settings().sourcePathMap()); if (!sourcePathMap.isEmpty()) { |