mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibGUI: Have FileSystemModel accept url-list drags onto directories
This commit is contained in:
parent
6e7ca44dee
commit
8b3864c70a
Notes:
sideshowbarker
2024-07-19 09:21:36 +09:00
Author: https://github.com/awesomekling
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