diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-17 22:49:52 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-17 22:49:52 +0200 |
commit | d1e83b4f6ece9f1e1f8077b1c6821005ff62b00d (patch) | |
tree | 470c918b36a121568ca3490d86bef5661ead9930 /Libraries/LibWeb/HTML | |
parent | f0349323c4876ed62fc85dbdae52ea4b3582ffc6 (diff) | |
download | serenity-d1e83b4f6ece9f1e1f8077b1c6821005ff62b00d.zip |
FileManager: Make DirectoryView vend indexes from view model
Instead of translating between the sorting proxy and the underlying
file system model at all the DirectoryView API boundaries, just hand
out indexes into the sorting proxy model.
The only thing those indexes are used for on the outside is to
retrieve a GUI::FileSystemModel::Node for an index, so add a nice
helper on DirectoryView that turns a ModelIndex into a Node&.
Diffstat (limited to 'Libraries/LibWeb/HTML')
0 files changed, 0 insertions, 0 deletions