浏览代码

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 5 年之前
父节点
当前提交
d9aecc8e08
共有 1 个文件被更改,包括 0 次插入2 次删除
  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()