diff options
author | Lucas CHOLLET <lucas.chollet@free.fr> | 2023-01-14 20:39:39 -0500 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-02-16 10:56:01 +0000 |
commit | 851b887cd07a81e38655737fde74d8f0203552e6 (patch) | |
tree | 81ebcdc4c5de86c3d49eedcff77eb366d04e2018 /Ladybird/Utilities.cpp | |
parent | 95a03f8ed6d737e602b5446ed7ce847e57f93966 (diff) | |
download | serenity-851b887cd07a81e38655737fde74d8f0203552e6.zip |
3DFileViewer: Set the window title name in `load_file()`
This patch allows two things:
- Factorizing code that was in main and the open action
- Displaying the full path of non-unveiled paths
Indeed, looking for the path of a fd is not allowed if the file isn't
unveiled. By setting the title in `load_file()` we are actually relying
on the value returned by `LibFSAC` who is actually authorized to
retrieve the entire path.
Diffstat (limited to 'Ladybird/Utilities.cpp')
0 files changed, 0 insertions, 0 deletions