mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:37:34 +00:00
Userland: Store MIME keys as String in Core::MimeData
This commit is contained in:
parent
4f638d3af2
commit
2f35348104
13 changed files with 22 additions and 22 deletions
|
@ -157,7 +157,7 @@ RefPtr<Core::MimeData> SheetModel::mime_data(const GUI::ModelSelection& selectio
|
|||
auto new_data = DeprecatedString::formatted("{}\n{}",
|
||||
cursor_position.to_url(m_sheet).to_deprecated_string(),
|
||||
StringView(mime_data_buffer));
|
||||
mime_data->set_data("text/x-spreadsheet-data", new_data.to_byte_buffer());
|
||||
mime_data->set_data("text/x-spreadsheet-data"_string, new_data.to_byte_buffer());
|
||||
|
||||
return mime_data;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue