mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 00:08:11 +00:00
Meta+MenuApplets: Make clang-format-10 clean
This commit is contained in:
parent
08f9bc26a6
commit
42dd0675c0
3 changed files with 2 additions and 3 deletions
|
@ -56,4 +56,3 @@ private:
|
||||||
Vector<GUI::Clipboard::DataAndType> m_history_items;
|
Vector<GUI::Clipboard::DataAndType> m_history_items;
|
||||||
size_t m_history_limit { 20 };
|
size_t m_history_limit { 20 };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ int main(int argc, char* argv[])
|
||||||
auto& icon = applet_window->set_main_widget<GUI::ImageWidget>();
|
auto& icon = applet_window->set_main_widget<GUI::ImageWidget>();
|
||||||
icon.load_from_file("/res/icons/16x16/clipboard.png");
|
icon.load_from_file("/res/icons/16x16/clipboard.png");
|
||||||
icon.set_fill_with_background_color(true);
|
icon.set_fill_with_background_color(true);
|
||||||
icon.on_click = [& main_window = *main_window] {
|
icon.on_click = [&main_window = *main_window] {
|
||||||
main_window.show();
|
main_window.show();
|
||||||
};
|
};
|
||||||
applet_window->resize(16, 16);
|
applet_window->resize(16, 16);
|
||||||
|
|
|
@ -41,7 +41,7 @@ public:
|
||||||
m_username_width = Gfx::Font::default_bold_font().width(m_username);
|
m_username_width = Gfx::Font::default_bold_font().width(m_username);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~UserNameWidget() override {}
|
virtual ~UserNameWidget() override { }
|
||||||
|
|
||||||
int get_width()
|
int get_width()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue