From 6d078a9ec33ced1ae7a0607fde03b24bb99608f7 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 19 May 2020 17:45:48 +0200 Subject: [PATCH] LibGUI: Use dbg() instead of dbgprintf() in GUI::Dialog --- Libraries/LibGUI/Dialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/LibGUI/Dialog.cpp b/Libraries/LibGUI/Dialog.cpp index 491fbfb8d0..6e5e4701ae 100644 --- a/Libraries/LibGUI/Dialog.cpp +++ b/Libraries/LibGUI/Dialog.cpp @@ -56,7 +56,7 @@ int Dialog::exec() show(); auto result = m_event_loop->exec(); m_event_loop = nullptr; - dbgprintf("%s: event loop returned with result %d\n", class_name(), result); + dbg() << *this << ": Event loop returned with result " << result; remove_from_parent(); return result; } @@ -66,7 +66,7 @@ void Dialog::done(int result) if (!m_event_loop) return; m_result = result; - dbgprintf("%s: quit event loop with result %d\n", class_name(), result); + dbg() << *this << ": Quit event loop with result " << result; m_event_loop->quit(result); }