forked from qt-creator/qt-creator
Get rid of QtcProcess::workingDirectory() overload
Adapt all callers' code so that it passes the FilePath instead of QString. As a consequence introduce TemporaryDirectory::masterDirectoryFilePath() and use it where easily possible. Change-Id: I14564949b3b916921e32a2957c84c03d1da43af2 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -134,7 +134,7 @@ private:
|
||||
m_tempCoreFilePath = FilePath::fromString(tmp.fileName());
|
||||
}
|
||||
|
||||
m_coreUnpackProcess.setWorkingDirectory(FilePath::fromString(TemporaryDirectory::masterDirectoryPath()));
|
||||
m_coreUnpackProcess.setWorkingDirectory(TemporaryDirectory::masterDirectoryFilePath());
|
||||
connect(&m_coreUnpackProcess, &QtcProcess::finished, this, &CoreUnpacker::reportStarted);
|
||||
|
||||
const QString msg = DebuggerRunTool::tr("Unpacking core file to %1");
|
||||
|
Reference in New Issue
Block a user