summaryrefslogtreecommitdiff
path: root/Applications/Taskbar/TaskbarButton.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-07 11:48:03 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-07 11:48:03 +0200
commitfd604a7c68efb4b36dd6eea429458adefba2dcc1 (patch)
treef9822ea9a0c0faba5eb062dffbad2ed7325813dd /Applications/Taskbar/TaskbarButton.cpp
parente09c3a1ae82ad3ef1938b37faf447335f9aac9ba (diff)
downloadserenity-fd604a7c68efb4b36dd6eea429458adefba2dcc1.zip
Applications: Run clang-format on everything.
Diffstat (limited to 'Applications/Taskbar/TaskbarButton.cpp')
-rw-r--r--Applications/Taskbar/TaskbarButton.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Applications/Taskbar/TaskbarButton.cpp b/Applications/Taskbar/TaskbarButton.cpp
index c7e2f60fdc..18c7c57749 100644
--- a/Applications/Taskbar/TaskbarButton.cpp
+++ b/Applications/Taskbar/TaskbarButton.cpp
@@ -1,8 +1,8 @@
#include "TaskbarButton.h"
-#include <WindowServer/WSAPITypes.h>
#include <LibGUI/GAction.h>
-#include <LibGUI/GMenu.h>
#include <LibGUI/GEventLoop.h>
+#include <LibGUI/GMenu.h>
+#include <WindowServer/WSAPITypes.h>
static void set_window_minimized_state(const WindowIdentifier& identifier, bool minimized)
{
@@ -34,13 +34,13 @@ GMenu& TaskbarButton::ensure_menu()
{
if (!m_menu) {
m_menu = make<GMenu>("");
- m_menu->add_action(GAction::create("Minimize", [this] (auto&) {
+ m_menu->add_action(GAction::create("Minimize", [this](auto&) {
set_window_minimized_state(m_identifier, true);
}));
- m_menu->add_action(GAction::create("Unminimize", [this] (auto&) {
+ m_menu->add_action(GAction::create("Unminimize", [this](auto&) {
set_window_minimized_state(m_identifier, false);
}));
- m_menu->add_action(GAction::create("Close", [this] (auto&) {
+ m_menu->add_action(GAction::create("Close", [this](auto&) {
dbgprintf("FIXME: Close!\n");
}));
}