forked from qt-creator/qt-creator
ProcessProgress: Add setExpectedDuration() method
This is not the same as process timeout, so make these two settings orthogonal. Change-Id: I3fc774c183282fe770feb49258d77d0ce3637b38 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -147,7 +147,6 @@ void CMakeProcess::run(const BuildDirParameters ¶meters, const QStringList &
|
||||
ProcessProgress *progress = new ProcessProgress(m_process.get());
|
||||
progress->setDisplayName(::CMakeProjectManager::Tr::tr("Configuring \"%1\"")
|
||||
.arg(parameters.projectName));
|
||||
m_process->setTimeoutS(10); // for process progress timeout estimation
|
||||
m_process->setCommand(commandLine);
|
||||
m_elapsed.start();
|
||||
m_process->start();
|
||||
|
||||
Reference in New Issue
Block a user