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:
@@ -377,7 +377,6 @@ void MesonProjectParser::setupProcess(const Command &command, const Environment
|
||||
MessageManager::writeFlashing(Tr::tr("Running %1 in %2.")
|
||||
.arg(command.toUserOutput(), command.workDir().toUserOutput()));
|
||||
m_process->setCommand(command.cmdLine());
|
||||
m_process->setTimeoutS(10);
|
||||
ProcessProgress *progress = new ProcessProgress(m_process.get());
|
||||
progress->setDisplayName(Tr::tr("Configuring \"%1\".").arg(projectName));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user