From db058a22aeeadc22539e3e1efd9216970eebdd19 Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Fri, 12 Aug 2022 19:33:05 -0400 Subject: LibGUI: Put DragOperation dbgln() behind DRAG_DEBUG --- Userland/Libraries/LibGUI/DragOperation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland') diff --git a/Userland/Libraries/LibGUI/DragOperation.cpp b/Userland/Libraries/LibGUI/DragOperation.cpp index 349c230246..941c76ccc4 100644 --- a/Userland/Libraries/LibGUI/DragOperation.cpp +++ b/Userland/Libraries/LibGUI/DragOperation.cpp @@ -48,7 +48,7 @@ DragOperation::Outcome DragOperation::exec() m_event_loop = make(); auto result = m_event_loop->exec(); m_event_loop = nullptr; - dbgln("{}: event loop returned with result {}", class_name(), result); + dbgln_if(DRAG_DEBUG, "{}: event loop returned with result {}", class_name(), result); remove_from_parent(); s_current_drag_operation = nullptr; return m_outcome; -- cgit v1.2.3