Parcourir la source

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.
Andreas Kling il y a 5 ans
Parent
commit
d9aecc8e08
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      Shell/Shell.cpp

+ 0 - 2
Shell/Shell.cpp

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