mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:17:43 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -85,7 +85,7 @@ void WindowSwitcher::event(Core::Event& event)
|
|||
event.accept();
|
||||
}
|
||||
|
||||
void WindowSwitcher::on_key_event(const KeyEvent& event)
|
||||
void WindowSwitcher::on_key_event(KeyEvent const& event)
|
||||
{
|
||||
if (event.type() == Event::KeyUp) {
|
||||
if (event.key() == (m_mode == Mode::ShowAllWindows ? Key_Super : Key_Alt)) {
|
||||
|
@ -212,7 +212,7 @@ void WindowSwitcher::draw()
|
|||
void WindowSwitcher::refresh()
|
||||
{
|
||||
auto& wm = WindowManager::the();
|
||||
const Window* selected_window = nullptr;
|
||||
Window const* selected_window = nullptr;
|
||||
if (m_selected_index > 0 && m_windows[m_selected_index])
|
||||
selected_window = m_windows[m_selected_index].ptr();
|
||||
if (!selected_window)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue