LibCore: Remove unused "visible for timer purposes" concept

This was a long-unused leftover from SerenityOS.
This commit is contained in:
Andreas Kling 2025-08-11 11:45:39 +02:00 committed by Andreas Kling
commit c47e253c60
Notes: github-actions[bot] 2025-08-11 14:57:04 +00:00
17 changed files with 24 additions and 63 deletions

View file

@ -46,14 +46,14 @@ void EventReceiver::custom_event(CustomEvent&)
{
}
void EventReceiver::start_timer(int ms, TimerShouldFireWhenNotVisible fire_when_not_visible)
void EventReceiver::start_timer(int ms)
{
if (m_timer_id) {
dbgln("{} {:p} already has a timer!", class_name(), this);
VERIFY_NOT_REACHED();
}
m_timer_id = Core::EventLoop::register_timer(*this, ms, true, fire_when_not_visible);
m_timer_id = Core::EventLoop::register_timer(*this, ms, true);
}
void EventReceiver::stop_timer()
@ -74,9 +74,4 @@ void EventReceiver::dispatch_event(Core::Event& e)
event(e);
}
bool EventReceiver::is_visible_for_timer_purposes() const
{
return true;
}
}