diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/valgrind/callgrind/callgrindcontroller.cpp | 2 | ||||
-rw-r--r-- | src/plugins/valgrind/valgrindprocess.cpp | 4 |
2 files changed, 3 insertions, 3 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) diff --git a/src/plugins/valgrind/valgrindprocess.cpp b/src/plugins/valgrind/valgrindprocess.cpp index 3f78333e24..ef87ac8941 100644 --- a/src/plugins/valgrind/valgrindprocess.cpp +++ b/src/plugins/valgrind/valgrindprocess.cpp @@ -208,14 +208,14 @@ qint64 ValgrindProcess::pid() const void ValgrindProcess::handleRemoteStderr() { - const QString b = QString::fromLocal8Bit(m_remote.m_process->readAllStandardError()); + const QString b = QString::fromUtf8(m_remote.m_process->readAllStandardError()); if (!b.isEmpty()) emit processOutput(b, Utils::StdErrFormat); } void ValgrindProcess::handleRemoteStdout() { - const QString b = QString::fromLocal8Bit(m_remote.m_process->readAllStandardOutput()); + const QString b = QString::fromUtf8(m_remote.m_process->readAllStandardOutput()); if (!b.isEmpty()) emit processOutput(b, Utils::StdOutFormat); } |