summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/callgrind
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2021-08-02 18:02:10 +0200
committerhjk <hjk@qt.io>2021-08-06 12:51:24 +0000
commit4a42bcd4e8d2c73be426775597e8a58f5df6a3a8 (patch)
tree9def81512c2a914cdec059587dca6135c38e0e15 /src/plugins/valgrind/callgrind
parentb8f369c436cddd0323ea752a6c1b623431cb5096 (diff)
downloadqt-creator-4a42bcd4e8d2c73be426775597e8a58f5df6a3a8.tar.gz
Utils/ProjectExplorer: Use FilePath for Runnable::workingDirectory
... and in some using code. Change-Id: I231ea56628908f7d305d13f07eabe8803fe8a791 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/valgrind/callgrind')
-rw-r--r--src/plugins/valgrind/callgrind/callgrindcontroller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/valgrind/callgrind/callgrindcontroller.cpp b/src/plugins/valgrind/callgrind/callgrindcontroller.cpp
index f195d2e374..ffcca330cf 100644
--- a/src/plugins/valgrind/callgrind/callgrindcontroller.cpp
+++ b/src/plugins/valgrind/callgrind/callgrindcontroller.cpp
@@ -207,7 +207,7 @@ void CallgrindController::getLocalDataFile()
{
// we look for callgrind.out.PID, but there may be updated ones called ~.PID.NUM
const QString baseFileName = QString("callgrind.out.%1").arg(m_pid);
- const QString workingDir = m_valgrindRunnable.workingDirectory;
+ const QString workingDir = m_valgrindRunnable.workingDirectory.toString();
// first, set the to-be-parsed file to callgrind.out.PID
QString fileName = workingDir.isEmpty() ? baseFileName : (workingDir + '/' + baseFileName);