mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 02:30:30 +09:00
LibGUI: Fix debug line causing crash when drag event has no mime data
Resolves #10618.
This commit is contained in:
parent
04b591b2e0
commit
771467f92f
Notes:
sideshowbarker
2024-07-17 06:29:49 +09:00
Author: https://github.com/kemzeb
Commit: 771467f92f
Pull-request: https://github.com/SerenityOS/serenity/pull/22272
Issue: https://github.com/SerenityOS/serenity/issues/10618
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/trflynn89
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ void AbstractView::drag_enter_event(DragEvent& event)
|
|||
// We might be able to reduce event traffic by communicating the set of drag-accepting
|
||||
// rects in this widget to the windowing system somehow.
|
||||
event.accept();
|
||||
dbgln_if(DRAG_DEBUG, "accepting drag of {}", event.mime_types().first());
|
||||
dbgln_if(DRAG_DEBUG, "accepting drag of {}", event.mime_types());
|
||||
}
|
||||
|
||||
void AbstractView::drag_move_event(DragEvent& event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue