summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/callgrind
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-05-09 12:01:31 +0200
committerhjk <hjk121@nokiamail.com>2014-05-12 10:47:18 +0200
commit2538b610c26a82d721546e7035155d6d879ab49f (patch)
treedc709a7edb4af89805717cb3da6d47391f51ecbd /src/plugins/valgrind/callgrind
parentadb5a7a70820a502f58a591f61a6d8a60008e635 (diff)
downloadqt-creator-2538b610c26a82d721546e7035155d6d879ab49f.tar.gz
Valgrind: Don't use QString::fromLocal8Bit() on remote output.
Instead, assume UTF-8, which is very likely to be correct for a remote Linux system. Change-Id: I2976e2d79bf10d4db23f60f2c6c9fddffa58a9b7 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: hjk <hjk121@nokiamail.com>
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 bd7633bfe3..1b52ed2054 100644
--- a/src/plugins/valgrind/callgrind/callgrindcontroller.cpp
+++ b/src/plugins/valgrind/callgrind/callgrindcontroller.cpp
@@ -246,7 +246,7 @@ void CallgrindController::sftpInitialized()
dataFile.setAutoRemove(false);
dataFile.close();
- m_downloadJob = m_sftp->downloadFile(QString::fromLocal8Bit(m_remoteFile), m_tempDataFile, QSsh::SftpOverwriteExisting);
+ m_downloadJob = m_sftp->downloadFile(QString::fromUtf8(m_remoteFile), m_tempDataFile, QSsh::SftpOverwriteExisting);
}
void CallgrindController::sftpJobFinished(QSsh::SftpJobId job, const QString &error)