1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 22:17:42 +00:00

LibCore: Remove redundant check in CObject::dispatch_event()

This commit is contained in:
Andreas Kling 2020-01-23 18:08:18 +01:00
parent b90af9b1ed
commit a93f35ac71

View file

@ -194,7 +194,7 @@ void CObject::dispatch_event(CEvent& e, CObject* stay_within)
e.accept(); e.accept();
break; break;
} }
} while (target && target != stay_within && !e.is_accepted()); } while (target && !e.is_accepted());
} }
bool CObject::is_visible_for_timer_purposes() const bool CObject::is_visible_for_timer_purposes() const