diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-05-09 12:01:31 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-05-12 10:47:18 +0200 |
commit | 2538b610c26a82d721546e7035155d6d879ab49f (patch) | |
tree | dc709a7edb4af89805717cb3da6d47391f51ecbd /src/plugins/valgrind/callgrind | |
parent | adb5a7a70820a502f58a591f61a6d8a60008e635 (diff) | |
download | qt-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.cpp | 2 |
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) |