1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00

Meta+MenuApplets: Make clang-format-10 clean

This commit is contained in:
Ben Wiederhake 2020-09-18 09:49:51 +02:00 committed by Andreas Kling
parent 08f9bc26a6
commit 42dd0675c0
3 changed files with 2 additions and 3 deletions

View file

@ -79,7 +79,7 @@ int main(int argc, char* argv[])
auto& icon = applet_window->set_main_widget<GUI::ImageWidget>();
icon.load_from_file("/res/icons/16x16/clipboard.png");
icon.set_fill_with_background_color(true);
icon.on_click = [& main_window = *main_window] {
icon.on_click = [&main_window = *main_window] {
main_window.show();
};
applet_window->resize(16, 16);