From 42dd0675c0efad2a27f95ca535b72e029b6ebf37 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Fri, 18 Sep 2020 09:49:51 +0200 Subject: [PATCH] Meta+MenuApplets: Make clang-format-10 clean --- MenuApplets/ClipboardHistory/ClipboardHistoryModel.h | 1 - MenuApplets/ClipboardHistory/main.cpp | 2 +- MenuApplets/UserName/main.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/MenuApplets/ClipboardHistory/ClipboardHistoryModel.h b/MenuApplets/ClipboardHistory/ClipboardHistoryModel.h index e6f51b8b8c4..e10ee6ac4ed 100644 --- a/MenuApplets/ClipboardHistory/ClipboardHistoryModel.h +++ b/MenuApplets/ClipboardHistory/ClipboardHistoryModel.h @@ -56,4 +56,3 @@ private: Vector m_history_items; size_t m_history_limit { 20 }; }; - diff --git a/MenuApplets/ClipboardHistory/main.cpp b/MenuApplets/ClipboardHistory/main.cpp index 9e7e046b78a..4d66e853657 100644 --- a/MenuApplets/ClipboardHistory/main.cpp +++ b/MenuApplets/ClipboardHistory/main.cpp @@ -79,7 +79,7 @@ int main(int argc, char* argv[]) auto& icon = applet_window->set_main_widget(); 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); diff --git a/MenuApplets/UserName/main.cpp b/MenuApplets/UserName/main.cpp index 345cc6c6ed8..5434c9f159d 100644 --- a/MenuApplets/UserName/main.cpp +++ b/MenuApplets/UserName/main.cpp @@ -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() {