forked from qt-creator/qt-creator
ShellCommand: Rename some signals
Rename the signals used to report stdout/stderr to make it clearer what they actually do. Remove some unimplemented private member functions while at it. Change-Id: I7e856f906ccb45964f3b1b64336d4d8ebca7b9ee Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -148,7 +148,7 @@ VcsCommand *VcsBaseClientImpl::createCommand(const QString &workingDirectory,
|
||||
if (editor) // assume that the commands output is the important thing
|
||||
cmd->addFlags(VcsCommand::SilentOutput);
|
||||
} else if (editor) {
|
||||
connect(cmd, &VcsCommand::output, editor, &VcsBaseEditorWidget::setPlainText);
|
||||
connect(cmd, &VcsCommand::stdOutText, editor, &VcsBaseEditorWidget::setPlainText);
|
||||
}
|
||||
|
||||
return cmd;
|
||||
@@ -545,7 +545,7 @@ void VcsBaseClient::emitParsedStatus(const QString &repository, const QStringLis
|
||||
QStringList args(vcsCommandString(StatusCommand));
|
||||
args << extraOptions;
|
||||
VcsCommand *cmd = createCommand(repository);
|
||||
connect(cmd, &VcsCommand::output, this, &VcsBaseClient::statusParser);
|
||||
connect(cmd, &VcsCommand::stdOutText, this, &VcsBaseClient::statusParser);
|
||||
enqueueJob(cmd, args);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user