mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Userland: Store MIME keys as String in Core::MimeData
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 22:41:14 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/2f35348104 Pull-request: https://github.com/SerenityOS/serenity/pull/21179 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -912,7 +912,7 @@ void TerminalWidget::mousemove_event(GUI::MouseEvent& event)
|
||||
|
||||
auto drag_operation = GUI::DragOperation::construct();
|
||||
drag_operation->set_text(m_active_href);
|
||||
drag_operation->set_data("text/uri-list", m_active_href);
|
||||
drag_operation->set_data("text/uri-list"_string, m_active_href);
|
||||
|
||||
m_active_href = {};
|
||||
m_active_href_id = {};
|
||||
|
||||
Reference in New Issue
Block a user