1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:57:45 +00:00

LibGUI: Don't leak every tooltip window ever :^)

This commit is contained in:
Andreas Kling 2020-02-15 01:27:37 +01:00
parent dcb0766d3f
commit 10ccc9e11c
2 changed files with 13 additions and 10 deletions

View file

@ -77,7 +77,7 @@ private:
RefPtr<Gfx::PaletteImpl> m_system_palette;
HashMap<Shortcut, Action*> m_global_shortcut_actions;
class TooltipWindow;
TooltipWindow* m_tooltip_window { nullptr };
RefPtr<TooltipWindow> m_tooltip_window;
bool m_quit_when_last_window_deleted { true };
String m_invoked_as;
Vector<String> m_args;