mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +00:00
Userland: Fix remaining smart pointer const-correctness issues
This commit is contained in:
parent
faa1a09042
commit
33e87d1627
17 changed files with 23 additions and 23 deletions
|
@ -26,7 +26,6 @@ public:
|
|||
virtual ~VideoFrameWidget() override = default;
|
||||
|
||||
void set_bitmap(Gfx::Bitmap const*);
|
||||
Gfx::Bitmap* bitmap() { return m_bitmap.ptr(); }
|
||||
Gfx::Bitmap const* bitmap() const { return m_bitmap.ptr(); }
|
||||
|
||||
void set_sizing_mode(VideoSizingMode value) { m_sizing_mode = value; }
|
||||
|
@ -44,7 +43,7 @@ protected:
|
|||
virtual void paint_event(GUI::PaintEvent&) override;
|
||||
|
||||
private:
|
||||
RefPtr<Gfx::Bitmap> m_bitmap;
|
||||
RefPtr<Gfx::Bitmap const> m_bitmap;
|
||||
VideoSizingMode m_sizing_mode { VideoSizingMode::Fit };
|
||||
bool m_auto_resize { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue