From 74961f58c044782a094a4c6637bf302d1a83c4cf Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 2 Mar 2021 12:26:42 -0300 Subject: [PATCH] Missing std::cout -> TRACEARGS from b163b7be485aefb6ebd40c4ec6cbc76c671514f7 --- src/ui/manager.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/ui/manager.cpp b/src/ui/manager.cpp index ec4330317..c6cb599df 100644 --- a/src/ui/manager.cpp +++ b/src/ui/manager.cpp @@ -1525,12 +1525,10 @@ bool Manager::sendMessageToWidget(Message* msg, Widget* widget) msg->type() < sizeof(msg_name)/sizeof(const char*)) ? msg_name[msg->type()]: "Unknown"; - std::cout << "Event " << msg->type() << " (" << string << ") " - << "for " << ((void*)widget) << std::flush; - std::cout << " (" << typeid(*widget).name() << ")"; - if (!widget->id().empty()) - std::cout << " (" << widget->id() << ")"; - std::cout << std::endl; + TRACEARGS("Event", msg->type(), "(", string, ")", + "for", ((void*)widget), + typeid(*widget).name(), + widget->id().empty()); } #endif