mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibGUI: Remove unused AbstractThemePreview::on_theme_load_from_file
This commit is contained in:
committed by
Jelle Raaijmakers
parent
b0fad409bf
commit
17012b266c
@@ -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));
|
||||
set_preview_palette(m_preview_palette);
|
||||
if (on_theme_load_from_file)
|
||||
on_theme_load_from_file(file.filename());
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user