mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
PixelPaint: Remove unused methods to access files directly
After transitioning to FileSystemAccessServer, some of the methods in `MainWidget` and `ProjectLoader` for opening files directly with a filename as opposed to with a file descriptor are unused. This commit removes them.
This commit is contained in:
parent
f337580191
commit
1e1e5bb5f7
Notes:
sideshowbarker
2024-07-18 04:14:05 +09:00
Author: https://github.com/mustafaquraish
Commit: 1e1e5bb5f7
Pull-request: https://github.com/SerenityOS/serenity/pull/9974
Issue: https://github.com/SerenityOS/serenity/issues/9971
Reviewed-by: https://github.com/Granddave ✅
Reviewed-by: https://github.com/TobyAsE
4 changed files with 0 additions and 22 deletions
|
@ -19,7 +19,6 @@ public:
|
|||
~ProjectLoader() = default;
|
||||
|
||||
Result<void, String> try_load_from_fd_and_close(int fd, StringView path);
|
||||
Result<void, String> try_load_from_path(StringView path);
|
||||
|
||||
bool is_raw_image() const { return m_is_raw_image; }
|
||||
bool has_image() const { return !m_image.is_null(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue