RunFlags: Add ProgressiveOutput flag

It replaces VcsCommand::setProgressiveOutput() property.

Change-Id: Icebd2205a5b489f60ded1eeee21e2deacbfde1fe
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2022-10-06 15:06:09 +02:00
parent 98c4e342f8
commit 363731a8c8
5 changed files with 24 additions and 30 deletions

View File

@@ -138,7 +138,7 @@ void GitLabCloneDialog::cloneProject()
m_pathChooser->absoluteFilePath(),
m_directoryLE->text(), extraArgs);
const FilePath workingDirectory = m_pathChooser->absoluteFilePath();
m_command->setProgressiveOutput(true);
m_command->addFlags(RunFlags::ProgressiveOutput);
connect(m_command, &VcsCommand::stdOutText, this, [this](const QString &text) {
m_cloneOutput->appendPlainText(text);
});