VcsBaseDiffEditorController: Fix git show

Though it was looking weird, it's still needed.

Amends 73e48ef275

Change-Id: Idedc254a9dad125239becfe4f2edb9fe93298bfc
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2022-09-16 17:12:16 +02:00
parent 17f1c8d928
commit 2429232e72

View File

@@ -123,7 +123,8 @@ void VcsBaseDiffEditorControllerPrivate::commandFinished(bool success)
return;
}
q->processCommandOutput(m_output);
// Pass a copy of m_output since processDiff() cleans the m_output
q->processCommandOutput(QString(m_output));
}
/////////////////////