forked from qt-creator/qt-creator
Valgrind: Use FilePathAspect for main executable
Change-Id: I0bdb625b47d0f39b577684b6f407b9e8a6086d1f Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -53,7 +53,7 @@ ValgrindToolRunner::ValgrindToolRunner(RunControl *runControl)
|
||||
|
||||
void ValgrindToolRunner::start()
|
||||
{
|
||||
FilePath valgrindExecutable = m_settings.valgrindExecutable.filePath();
|
||||
FilePath valgrindExecutable = m_settings.valgrindExecutable();
|
||||
if (IDevice::ConstPtr dev = DeviceKitAspect::device(runControl()->kit()))
|
||||
valgrindExecutable = dev->filePath(valgrindExecutable.path());
|
||||
if (!valgrindExecutable.isExecutableFile()) {
|
||||
|
||||
Reference in New Issue
Block a user