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

@ -56,4 +56,3 @@ private:
Vector<GUI::Clipboard::DataAndType> m_history_items;
size_t m_history_limit { 20 };
};

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);

View file

@ -41,7 +41,7 @@ public:
m_username_width = Gfx::Font::default_bold_font().width(m_username);
}
virtual ~UserNameWidget() override {}
virtual ~UserNameWidget() override { }
int get_width()
{