diff options
Diffstat (limited to 'Applications/Spreadsheet/HelpWindow.h')
-rw-r--r-- | Applications/Spreadsheet/HelpWindow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Applications/Spreadsheet/HelpWindow.h b/Applications/Spreadsheet/HelpWindow.h index 53d486b554..1c02d90eed 100644 --- a/Applications/Spreadsheet/HelpWindow.h +++ b/Applications/Spreadsheet/HelpWindow.h @@ -27,6 +27,7 @@ #pragma once #include <AK/JsonObject.h> +#include <LibGUI/Dialog.h> #include <LibGUI/Widget.h> #include <LibGUI/Window.h> #include <LibWeb/OutOfProcessWebView.h> @@ -37,12 +38,12 @@ class HelpWindow : public GUI::Window { C_OBJECT(HelpWindow); public: - static NonnullRefPtr<HelpWindow> the() + static NonnullRefPtr<HelpWindow> the(GUI::Window* window) { if (s_the) return *s_the; - return *(s_the = adopt(*new HelpWindow)); + return *(s_the = adopt(*new HelpWindow(window))); } virtual ~HelpWindow() override; |