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