diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-11-05 16:40:40 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-11-06 12:33:16 +0100 |
commit | 5778df9ad083767585d7b6154db7b34c3454664b (patch) | |
tree | a51a94185781203326144ea28b48c08489045df2 /src/app/qbs | |
parent | 7068aa68e09265fbd7d9c5c31b187b927b011188 (diff) |
Fix meaning of "Command.silent".
The new, saner meaning is: If this property is set to true, then qbs
will not print the status message (containing the command description).
Accordingly, the default is changed to false. Also, there is now a
check that prints a warning if a non-silent command has an empty
description.
Change-Id: I5a8fd4e2f8901f6e2858946901e8081a6929d43f
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/app/qbs')
-rw-r--r-- | src/app/qbs/commandlinefrontend.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/app/qbs/commandlinefrontend.cpp b/src/app/qbs/commandlinefrontend.cpp index bc9b9762e..c6962382c 100644 --- a/src/app/qbs/commandlinefrontend.cpp +++ b/src/app/qbs/commandlinefrontend.cpp @@ -173,8 +173,7 @@ void CommandLineFrontend::start() void CommandLineFrontend::handleCommandDescriptionReport(const QString &highlight, const QString &message) { - if (!message.isEmpty()) - qbsInfo() << MessageTag(highlight) << message; + qbsInfo() << MessageTag(highlight) << message; } void CommandLineFrontend::handleJobFinished(bool success, AbstractJob *job) |