LibGUI: Implement the virtual ListView::scroll_into_view()

Instead of shadowing the one from AbstractView.
This commit is contained in:
Andreas Kling 2020-09-01 17:29:02 +02:00
commit a56360f787
Notes: sideshowbarker 2024-07-19 02:56:28 +09:00
2 changed files with 8 additions and 7 deletions

View file

@ -45,7 +45,7 @@ public:
int horizontal_padding() const { return m_horizontal_padding; }
void scroll_into_view(const ModelIndex&, Orientation);
virtual void scroll_into_view(const ModelIndex& index, bool scroll_horizontally, bool scroll_vertically) override;
Gfx::IntPoint adjusted_position(const Gfx::IntPoint&) const;