diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-10-08 16:23:53 +0300 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-10-12 12:35:38 +0300 |
commit | fae6c9901645d6ae6acdeaf843e542385318a1d8 (patch) | |
tree | 33da6828c50a4a76a5282589f34b9349a360a947 | |
parent | ad64bedf6ad5729380b76a5cd5117494164d58f1 (diff) |
Show messages from lcPackageInfo logging category regardless of verbosity
This is required for the deprecated '--checkupdates' option to behave as
it did with IFW 3.x, printing only the XML-formatted update information.
Task-number: QTIFW-2349
Change-Id: Iebd75b33943216a1c7d3b50882e2d1b7a567aa08
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
-rw-r--r-- | src/libs/installer/loggingutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/loggingutils.cpp b/src/libs/installer/loggingutils.cpp index 45f7aab1b..6e7bff44a 100644 --- a/src/libs/installer/loggingutils.cpp +++ b/src/libs/installer/loggingutils.cpp @@ -160,7 +160,7 @@ void LoggingHandler::messageHandler(QtMsgType type, const QMessageLogContext &co if (VerboseWriter *log = VerboseWriter::instance()) log->appendLine(ba); - if (type != QtDebugMsg || isVerbose()) + if (type != QtDebugMsg || isVerbose() || context.category == lcPackageInfo().categoryName()) std::cout << qPrintable(ba) << std::endl; if (type == QtFatalMsg) { |