mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 04:50:29 +00:00
Solitaire: Set parent window for AboutDialog
This commit is contained in:
parent
317a0d666b
commit
cfd1e783a5
Notes:
sideshowbarker
2024-07-19 08:03:49 +09:00
Author: https://github.com/xTibor Commit: https://github.com/SerenityOS/serenity/commit/cfd1e783a51 Pull-request: https://github.com/SerenityOS/serenity/pull/1534 Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ int main(int argc, char** argv)
|
|||
app_menu->add_action(GUI::CommonActions::make_quit_action([&](auto&) { app.quit(); }));
|
||||
|
||||
help_menu->add_action(GUI::Action::create("About", [&](auto&) {
|
||||
GUI::AboutDialog::show("Solitaire", Gfx::Bitmap::load_from_file("/res/icons/32x32/app-solitaire.png"));
|
||||
GUI::AboutDialog::show("Solitaire", Gfx::Bitmap::load_from_file("/res/icons/32x32/app-solitaire.png"), window);
|
||||
}));
|
||||
|
||||
menu_bar->add_menu(move(app_menu));
|
||||
|
|
Loading…
Reference in a new issue