Skip to content

Commit

Permalink
Meta+MenuApplets: Make clang-format-10 clean
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWiederhake authored and awesomekling committed Sep 25, 2020
1 parent 08f9bc2 commit 42dd067
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion MenuApplets/ClipboardHistory/ClipboardHistoryModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ class ClipboardHistoryModel final : public GUI::Model {
Vector<GUI::Clipboard::DataAndType> m_history_items;
size_t m_history_limit { 20 };
};

2 changes: 1 addition & 1 deletion MenuApplets/ClipboardHistory/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion MenuApplets/UserName/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class UserNameWidget final : public GUI::Widget {
m_username_width = Gfx::Font::default_bold_font().width(m_username);
}

virtual ~UserNameWidget() override {}
virtual ~UserNameWidget() override { }

int get_width()
{
Expand Down

0 comments on commit 42dd067

Please sign in to comment.