mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibGUI: Have FileSystemModel accept url-list drags onto directories
This commit is contained in:
parent
6e7ca44dee
commit
8b3864c70a
2 changed files with 12 additions and 1 deletions
|
@ -124,6 +124,7 @@ public:
|
|||
virtual ModelIndex parent_index(const ModelIndex&) const override;
|
||||
virtual ModelIndex index(int row, int column = 0, const ModelIndex& parent = ModelIndex()) const override;
|
||||
virtual StringView drag_data_type() const override { return "url-list"; }
|
||||
virtual bool accepts_drag(const ModelIndex&, const StringView& data_type) override;
|
||||
|
||||
static String timestamp_string(time_t timestamp)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue