diff options
author | Jarek Kobus <[email protected]> | 2022-01-18 17:40:19 +0100 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2022-01-18 17:18:34 +0000 |
commit | d6f56254d1d93a78fb9069945a1931412c4e0ae6 (patch) | |
tree | ff661aa6bda6707e9872ede3bd147a9ad00033b3 /src/plugins/debugger/shared | |
parent | 2499b8896604e8b0ec8b93b763ec6d3659655fa7 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/debugger/shared')
-rw-r--r-- | src/plugins/debugger/shared/cdbsymbolpathlisteditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/shared/cdbsymbolpathlisteditor.cpp b/src/plugins/debugger/shared/cdbsymbolpathlisteditor.cpp index 9ac3cee8eeb..9fb662bc4e5 100644 --- a/src/plugins/debugger/shared/cdbsymbolpathlisteditor.cpp +++ b/src/plugins/debugger/shared/cdbsymbolpathlisteditor.cpp @@ -153,7 +153,7 @@ CdbSymbolPathListEditor::CdbSymbolPathListEditor(QWidget *parent) : bool CdbSymbolPathListEditor::promptCacheDirectory(QWidget *parent, FilePath *cacheDirectory) { CacheDirectoryDialog dialog(parent); - dialog.setPath(FilePath::fromString(TemporaryDirectory::masterDirectoryPath()) + "/symbolcache"); + dialog.setPath(TemporaryDirectory::masterDirectoryFilePath() + "/symbolcache"); if (dialog.exec() != QDialog::Accepted) return false; *cacheDirectory = dialog.path(); @@ -179,7 +179,7 @@ void CdbSymbolPathListEditor::setupSymbolPaths() if (path.isEmpty() && indexOfSymbolCache != -1) path = FilePath::fromString(currentPaths.at(indexOfSymbolCache)); if (path.isEmpty()) - path = FilePath::fromString(TemporaryDirectory::masterDirectoryPath() + "/symbolcache"); + path = TemporaryDirectory::masterDirectoryFilePath() + "/symbolcache"; bool useSymbolServer = true; bool useSymbolCache = true; |