mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57:35 +00:00
LibGUI: Remove unused AbstractThemePreview::on_theme_load_from_file
This commit is contained in:
parent
b0fad409bf
commit
17012b266c
2 changed files with 0 additions and 3 deletions
|
@ -92,8 +92,6 @@ ErrorOr<void> AbstractThemePreview::set_theme_from_file(Core::File& file)
|
||||||
|
|
||||||
m_preview_palette = Gfx::Palette(Gfx::PaletteImpl::create_with_anonymous_buffer(theme));
|
m_preview_palette = Gfx::Palette(Gfx::PaletteImpl::create_with_anonymous_buffer(theme));
|
||||||
set_preview_palette(m_preview_palette);
|
set_preview_palette(m_preview_palette);
|
||||||
if (on_theme_load_from_file)
|
|
||||||
on_theme_load_from_file(file.filename());
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@ public:
|
||||||
|
|
||||||
void paint_window(StringView title, Gfx::IntRect const& rect, Gfx::WindowTheme::WindowState, Gfx::Bitmap const& icon, int button_count = 3);
|
void paint_window(StringView title, Gfx::IntRect const& rect, Gfx::WindowTheme::WindowState, Gfx::Bitmap const& icon, int button_count = 3);
|
||||||
|
|
||||||
Function<void(DeprecatedString const&)> on_theme_load_from_file;
|
|
||||||
Function<void()> on_palette_change;
|
Function<void()> on_palette_change;
|
||||||
|
|
||||||
struct Window {
|
struct Window {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue