mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -73,20 +73,20 @@ void DragOperation::notify_cancelled(Badge<ConnectionToWindowServer>)
|
|||
s_current_drag_operation->done(Outcome::Cancelled);
|
||||
}
|
||||
|
||||
void DragOperation::set_text(const String& text)
|
||||
void DragOperation::set_text(String const& text)
|
||||
{
|
||||
if (!m_mime_data)
|
||||
m_mime_data = Core::MimeData::construct();
|
||||
m_mime_data->set_text(text);
|
||||
}
|
||||
void DragOperation::set_bitmap(const Gfx::Bitmap* bitmap)
|
||||
void DragOperation::set_bitmap(Gfx::Bitmap const* bitmap)
|
||||
{
|
||||
if (!m_mime_data)
|
||||
m_mime_data = Core::MimeData::construct();
|
||||
if (bitmap)
|
||||
m_mime_data->set_data("image/x-raw-bitmap", bitmap->serialize_to_byte_buffer());
|
||||
}
|
||||
void DragOperation::set_data(const String& data_type, const String& data)
|
||||
void DragOperation::set_data(String const& data_type, String const& data)
|
||||
{
|
||||
if (!m_mime_data)
|
||||
m_mime_data = Core::MimeData::construct();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue