diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 19:42:16 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 19:42:16 +0200 |
commit | 15a66dc8ab850de870f906ce64176ad5a58acf7e (patch) | |
tree | da3c06e7fa2949bfe2e881a1fca9694fd2ed2941 /Applications/Welcome | |
parent | 409494193eac267bc309472c52af140ca3cb374e (diff) | |
download | serenity-15a66dc8ab850de870f906ce64176ad5a58acf7e.zip |
Welcome: Unbreak after ObjectPtr changes
Diffstat (limited to 'Applications/Welcome')
-rw-r--r-- | Applications/Welcome/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Welcome/main.cpp b/Applications/Welcome/main.cpp index aa5aef86d0..0fa33298e6 100644 --- a/Applications/Welcome/main.cpp +++ b/Applications/Welcome/main.cpp @@ -139,7 +139,7 @@ int main(int argc, char** argv) menu_option->set_text_alignment(TextAlignment::CenterLeft); menu_option->set_size_policy(SizePolicy::Fill, SizePolicy::Fixed); menu_option->set_preferred_size(0, 20); - menu_option->on_click = [&](auto&) { + menu_option->on_click = [content = content.ptr(), &stack](auto&) { stack->set_active_widget(content); content->invalidate_layout(); }; |