forked from qt-creator/qt-creator
Vcs: Remove "waiting for data" when process fails
Task-number: QTCREATORBUG-7946 Change-Id: Ic3c3ceddd3b4bf115a1da78a5b5e5b640dbbd1f1 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -1177,6 +1177,15 @@ void VcsBaseEditorWidget::setPlainTextData(const QByteArray &data)
|
||||
setPlainText(codec()->toUnicode(data));
|
||||
}
|
||||
|
||||
void VcsBaseEditorWidget::reportCommandFinished(bool ok, int exitCode, const QVariant &data)
|
||||
{
|
||||
Q_UNUSED(exitCode);
|
||||
Q_UNUSED(data);
|
||||
|
||||
if (!ok)
|
||||
setPlainText(tr("Failed to retrieve data."));
|
||||
}
|
||||
|
||||
void VcsBaseEditorWidget::setFontSettings(const TextEditor::FontSettings &fs)
|
||||
{
|
||||
TextEditor::BaseTextEditorWidget::setFontSettings(fs);
|
||||
|
||||
Reference in New Issue
Block a user