mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
LibGUI: Use Variant's built-in equality operator in Window and Widget
Now that Variant has operator==(), we don't need to go through all this trouble to compare two Variant values.
This commit is contained in:
parent
a268dcb1e2
commit
98b8bab441
3 changed files with 4 additions and 23 deletions
|
@ -279,8 +279,6 @@ private:
|
|||
void flip(Vector<Gfx::IntRect, 32> const& dirty_rects);
|
||||
void force_update();
|
||||
|
||||
bool are_cursors_the_same(AK::Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> const&, AK::Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> const&) const;
|
||||
|
||||
WeakPtr<Widget> m_previously_focused_widget;
|
||||
|
||||
OwnPtr<WindowBackingStore> m_front_store;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue