diff options
Diffstat (limited to 'Userland/Applications/PixelPaint/PaletteWidget.h')
-rw-r--r-- | Userland/Applications/PixelPaint/PaletteWidget.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Userland/Applications/PixelPaint/PaletteWidget.h b/Userland/Applications/PixelPaint/PaletteWidget.h index ce129864d7..6801b6e649 100644 --- a/Userland/Applications/PixelPaint/PaletteWidget.h +++ b/Userland/Applications/PixelPaint/PaletteWidget.h @@ -30,16 +30,14 @@ public: Vector<Color> colors(); - static Result<Vector<Color>, String> load_palette_fd_and_close(int); + static Result<Vector<Color>, String> load_palette_file(Core::File&); static Result<Vector<Color>, String> load_palette_path(String const&); - static Result<void, String> save_palette_fd_and_close(Vector<Color>, int); + static Result<void, String> save_palette_file(Vector<Color>, Core::File&); static Vector<Color> fallback_colors(); void set_image_editor(ImageEditor*); private: - static Result<Vector<Color>, String> load_palette_file(Core::File&); - explicit PaletteWidget(); ImageEditor* m_editor { nullptr }; |