forked from qt-creator/qt-creator
Unify handling of dumperLibrary/dumperLibraryLocations
across its uses. We have the kits now, so we can use the information from there and no longer need to guess at the dumpers to use. Change-Id: I058304198e9c7fdbad45a84658e1bcea8ed9834d Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -673,18 +673,12 @@ QString Qt4RunConfiguration::proFilePath() const
|
||||
|
||||
QString Qt4RunConfiguration::dumperLibrary() const
|
||||
{
|
||||
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit());
|
||||
if (version)
|
||||
return version->gdbDebuggingHelperLibrary();
|
||||
return QString();
|
||||
return QtSupport::QtKitInformation::dumperLibrary(target()->kit());
|
||||
}
|
||||
|
||||
QStringList Qt4RunConfiguration::dumperLibraryLocations() const
|
||||
{
|
||||
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit());
|
||||
if (version)
|
||||
return version->debuggingHelperLibraryLocations();
|
||||
return QStringList();
|
||||
return QtSupport::QtKitInformation::dumperLibraryLocations(target()->kit());
|
||||
}
|
||||
|
||||
QString Qt4RunConfiguration::defaultDisplayName()
|
||||
|
||||
Reference in New Issue
Block a user