summaryrefslogtreecommitdiff
path: root/Ladybird/Utilities.cpp
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2023-01-14 20:39:39 -0500
committerSam Atkins <atkinssj@gmail.com>2023-02-16 10:56:01 +0000
commit851b887cd07a81e38655737fde74d8f0203552e6 (patch)
tree81ebcdc4c5de86c3d49eedcff77eb366d04e2018 /Ladybird/Utilities.cpp
parent95a03f8ed6d737e602b5446ed7ce847e57f93966 (diff)
downloadserenity-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