diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2022-08-25 21:25:10 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-26 12:48:05 +0200 |
commit | 3dd522a109cd801b64df6882112d256ff4d41a71 (patch) | |
tree | df3fadd62732f6b5117e6a4154b732cf8fb8f250 /Userland/Applications/Spreadsheet | |
parent | 7b2becad528799276abbf4610106cdd83ee7f075 (diff) | |
download | serenity-3dd522a109cd801b64df6882112d256ff4d41a71.zip |
SpreadSheet: Pass parent window when constructing About action
Fixes About dialog not blocking the app's main window.
Diffstat (limited to 'Userland/Applications/Spreadsheet')
-rw-r--r-- | Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp b/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp index 964b13a042..f35fc2a34e 100644 --- a/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp +++ b/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp @@ -238,7 +238,7 @@ SpreadsheetWidget::SpreadsheetWidget(GUI::Window& parent_window, NonnullRefPtrVe }, window()); - m_about_action = GUI::CommonActions::make_about_action("Spreadsheet", GUI::Icon::default_icon("app-spreadsheet"sv), window()); + m_about_action = GUI::CommonActions::make_about_action("Spreadsheet", GUI::Icon::default_icon("app-spreadsheet"sv), &parent_window); toolbar.add_action(*m_new_action); toolbar.add_action(*m_open_action); |