forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user