1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00

LibGUI: Make SortingProxyModel proxy accepts_drag()

This commit is contained in:
Andreas Kling 2021-01-09 11:35:42 +01:00
parent 12d0d12a78
commit 7baaa34490
6 changed files with 11 additions and 5 deletions

View file

@ -49,6 +49,7 @@ public:
virtual bool is_searchable() const override;
virtual void set_data(const ModelIndex&, const Variant&) override;
virtual Vector<ModelIndex, 1> matches(const StringView&, unsigned = MatchesFlag::AllMatching, const ModelIndex& = ModelIndex()) override;
virtual bool accepts_drag(const ModelIndex&, const Vector<String>& mime_types) const override;
virtual bool is_column_sortable(int column_index) const override;