aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/valgrind
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2021-01-13 15:00:15 +0100
committerChristian Stenger <christian.stenger@qt.io>2021-01-21 08:18:54 +0000
commitf6d4170c0507946a52b469e9244472bc5e346c71 (patch)
tree082aac407408868b8b0870c4af7aacde7d3ac7be /src/plugins/valgrind
parent3e30c4b5712e2381dd35bf10cbb3fbca93fb1cde (diff)
OutputFormatter: Reduce usages of DebugFormat
This is usually used in a wrong or at least misleading way. Replace most of the usages by newly introduced GeneralMessageFormat as most of the replaced usages just print to General Messages and using any of the existing formats would change the layout of the text. Except for some special debug output inside the valgrind plugin that can use one of the existing formats which also makes it easier to spot them and the runners which print QC internal output. Task-number: QTCREATORBUG-24560 Change-Id: I824dc4250b2f3e4656bab8676b45c98e3407d59c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/valgrind')
-rw-r--r--src/plugins/valgrind/valgrindengine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/valgrind/valgrindengine.cpp b/src/plugins/valgrind/valgrindengine.cpp
index ff0a2928acf..41086584acf 100644
--- a/src/plugins/valgrind/valgrindengine.cpp
+++ b/src/plugins/valgrind/valgrindengine.cpp
@@ -72,9 +72,9 @@ void ValgrindToolRunner::start()
m_progress.reportStarted();
#if VALGRIND_DEBUG_OUTPUT
- emit outputReceived(tr("Valgrind options: %1").arg(toolArguments().join(' ')), DebugFormat);
- emit outputReceived(tr("Working directory: %1").arg(runnable().workingDirectory), DebugFormat);
- emit outputReceived(tr("Command line arguments: %1").arg(runnable().debuggeeArgs), DebugFormat);
+ emit outputReceived(tr("Valgrind options: %1").arg(toolArguments().join(' ')), LogMessageFormat);
+ emit outputReceived(tr("Working directory: %1").arg(runnable().workingDirectory), LogMessageFormat);
+ emit outputReceived(tr("Command line arguments: %1").arg(runnable().debuggeeArgs), LogMessageFormat);
#endif
CommandLine valgrind{m_settings.valgrindExecutable()};