summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibGUI/AbstractThemePreview.cpp2
-rw-r--r--Userland/Libraries/LibGUI/AbstractThemePreview.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/Userland/Libraries/LibGUI/AbstractThemePreview.cpp b/Userland/Libraries/LibGUI/AbstractThemePreview.cpp
index 1cd8993fef..d77fac7c51 100644
--- a/Userland/Libraries/LibGUI/AbstractThemePreview.cpp
+++ b/Userland/Libraries/LibGUI/AbstractThemePreview.cpp
@@ -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 {};
}
diff --git a/Userland/Libraries/LibGUI/AbstractThemePreview.h b/Userland/Libraries/LibGUI/AbstractThemePreview.h
index 680dcbe541..66791a4605 100644
--- a/Userland/Libraries/LibGUI/AbstractThemePreview.h
+++ b/Userland/Libraries/LibGUI/AbstractThemePreview.h
@@ -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);
- Function<void(DeprecatedString const&)> on_theme_load_from_file;
Function<void()> on_palette_change;
struct Window {