Utils: Suppress progress bar when "Suppress command logging" is enabled

Change-Id: I6c94352f0c816920c4b97801da050bf14ea7be66
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2016-05-08 11:47:37 +03:00
committed by Orgad Shaneh
parent 94f0839f3f
commit 05966ab153

View File

@@ -215,7 +215,8 @@ void ShellCommand::execute()
QFuture<void> task = Utils::runAsync(&ShellCommand::run, this); QFuture<void> task = Utils::runAsync(&ShellCommand::run, this);
d->m_watcher.setFuture(task); d->m_watcher.setFuture(task);
addTask(task); if (!(d->m_flags & SuppressCommandLogging))
addTask(task);
} }
void ShellCommand::abort() void ShellCommand::abort()