Skip to content

Commit

Permalink
LibGUI: Put DragOperation dbgln() behind DRAG_DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
thankyouverycool authored and awesomekling committed Aug 16, 2022
1 parent 7c19959 commit db058a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Userland/Libraries/LibGUI/DragOperation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit db058a2

Please sign in to comment.