Shell: Remove unnecessary ignore() in Shell::custom_event()

Ignoring an event means that it will bubble to the parent Core::Object.
This is not necessary here.
This commit is contained in:
Andreas Kling 2020-08-06 14:27:06 +02:00
commit d9aecc8e08
Notes: sideshowbarker 2024-07-19 04:13:35 +09:00

View file

@ -1077,8 +1077,6 @@ void Shell::custom_event(Core::CustomEvent& event)
Core::EventLoop::current().post_event(*this, make<Core::CustomEvent>(ShellEventType::ReadLine)); Core::EventLoop::current().post_event(*this, make<Core::CustomEvent>(ShellEventType::ReadLine));
return; return;
} }
event.ignore();
} }
Shell::Shell() Shell::Shell()