mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:37:35 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -37,7 +37,7 @@ String ClipboardHistoryModel::column_name(int column) const
|
|||
}
|
||||
}
|
||||
|
||||
static const char* bpp_for_format_resilient(String format)
|
||||
static char const* bpp_for_format_resilient(String format)
|
||||
{
|
||||
unsigned format_uint = format.to_uint().value_or(static_cast<unsigned>(Gfx::BitmapFormat::Invalid));
|
||||
// Cannot use Gfx::Bitmap::bpp_for_format here, as we have to accept invalid enum values.
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
|
||||
virtual ~ClipboardHistoryModel() override = default;
|
||||
|
||||
const ClipboardItem& item_at(int index) const { return m_history_items[index]; }
|
||||
ClipboardItem const& item_at(int index) const { return m_history_items[index]; }
|
||||
void remove_item(int index);
|
||||
|
||||
// ^GUI::Model
|
||||
|
@ -54,7 +54,7 @@ private:
|
|||
virtual int column_count(const GUI::ModelIndex&) const override { return Column::__Count; }
|
||||
|
||||
// ^GUI::Clipboard::ClipboardClient
|
||||
virtual void clipboard_content_did_change(const String&) override { add_item(GUI::Clipboard::the().fetch_data_and_type()); }
|
||||
virtual void clipboard_content_did_change(String const&) override { add_item(GUI::Clipboard::the().fetch_data_and_type()); }
|
||||
|
||||
Vector<ClipboardItem> m_history_items;
|
||||
size_t m_history_limit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue