mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-05 01:42:54 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.Everything: The modifications in this commit were automatically made using the following command: find . -name '*.cpp' -exec sed -i -E 's/dbg\(\) << ("[^"{]*");/dbgln\(\1\);/' {} \;
This commit is contained in:
parent
40b8e21115
commit
938e5c7719
Notes:
sideshowbarker
2024-07-18 23:59:03 +09:00
Author: https://github.com/asynts
Commit: 938e5c7719
Pull-request: https://github.com/SerenityOS/serenity/pull/4870
95 changed files with 331 additions and 331 deletions
|
@ -308,7 +308,7 @@ void AbstractView::mousemove_event(MouseEvent& event)
|
|||
// Prevent this by just ignoring later drag initiations (until the current drag operation ends).
|
||||
TemporaryChange dragging { m_is_dragging, true };
|
||||
|
||||
dbg() << "Initiate drag!";
|
||||
dbgln("Initiate drag!");
|
||||
auto drag_operation = DragOperation::construct();
|
||||
|
||||
drag_operation->set_mime_data(m_model->mime_data(m_selection));
|
||||
|
@ -317,10 +317,10 @@ void AbstractView::mousemove_event(MouseEvent& event)
|
|||
|
||||
switch (outcome) {
|
||||
case DragOperation::Outcome::Accepted:
|
||||
dbg() << "Drag was accepted!";
|
||||
dbgln("Drag was accepted!");
|
||||
break;
|
||||
case DragOperation::Outcome::Cancelled:
|
||||
dbg() << "Drag was cancelled!";
|
||||
dbgln("Drag was cancelled!");
|
||||
break;
|
||||
default:
|
||||
ASSERT_NOT_REACHED();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue