1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

LibGUI: Put DragOperation dbgln() behind DRAG_DEBUG

This commit is contained in:
thankyouverycool 2022-08-12 19:33:05 -04:00 committed by Andreas Kling
parent 7c1995993f
commit db058a22ae

View file

@ -48,7 +48,7 @@ DragOperation::Outcome DragOperation::exec()
m_event_loop = make<Core::EventLoop>();
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;