Valgrind: Fix compile on Windows

Change-Id: Ic986f43a48cf63c42f8b8825360034c930c5c3a5
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2019-06-24 07:59:28 +02:00
parent cc6257e995
commit 33fde35c19

View File

@@ -1512,7 +1512,7 @@ void HeobData::processFinished()
debugger->setStartMode(AttachExternal); debugger->setStartMode(AttachExternal);
debugger->setCloseMode(DetachAtClose); debugger->setCloseMode(DetachAtClose);
debugger->setContinueAfterAttach(true); debugger->setContinueAfterAttach(true);
debugger->setInferiorExecutable(Utils::imageName(m_data[1])); debugger->setInferiorExecutable(FilePath::fromString(Utils::imageName(m_data[1])));
connect(m_runControl, &RunControl::started, this, &HeobData::debugStarted); connect(m_runControl, &RunControl::started, this, &HeobData::debugStarted);
connect(m_runControl, &RunControl::stopped, this, &HeobData::debugStopped); connect(m_runControl, &RunControl::stopped, this, &HeobData::debugStopped);