From 4ddd28ae22f02c0e6291181184b5290e49be7ccd Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 5 Jan 2023 17:55:04 +0100 Subject: Utils: Rename QtcProcess::readAllStandard* to readAllRawStandard* ... and re-use the old QtcProcess::readAllStandard* names for a QString-returning 'decoded' version. For now, only use that in 'full Utf8' cases, to stay bug-compatible, the plan is, however, to employ the QTextCodecs we have already in the channel buffers. That will be one-by-one, though. Change-Id: Id209e0671920d4ea4197918e872f441254112d52 Reviewed-by: Alessandro Portale --- src/plugins/git/gerrit/gerritmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/git/gerrit/gerritmodel.cpp') diff --git a/src/plugins/git/gerrit/gerritmodel.cpp b/src/plugins/git/gerrit/gerritmodel.cpp index bccd1fe50b..8273fe0f09 100644 --- a/src/plugins/git/gerrit/gerritmodel.cpp +++ b/src/plugins/git/gerrit/gerritmodel.cpp @@ -260,12 +260,12 @@ QueryContext::QueryContext(const QString &query, m_arguments = server.curlArguments() << url; } connect(&m_process, &QtcProcess::readyReadStandardError, this, [this] { - const QString text = QString::fromLocal8Bit(m_process.readAllStandardError()); + const QString text = QString::fromLocal8Bit(m_process.readAllRawStandardError()); VcsOutputWindow::appendError(text); m_error.append(text); }); connect(&m_process, &QtcProcess::readyReadStandardOutput, this, [this] { - m_output.append(m_process.readAllStandardOutput()); + m_output.append(m_process.readAllRawStandardOutput()); }); connect(&m_process, &QtcProcess::done, this, &QueryContext::processDone); m_process.setEnvironment(Git::Internal::GitClient::instance()->processEnvironment()); -- cgit v1.2.1