mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
LibCore: Remove redundant check in CObject::dispatch_event()
This commit is contained in:
parent
b90af9b1ed
commit
a93f35ac71
|
@ -194,7 +194,7 @@ void CObject::dispatch_event(CEvent& e, CObject* stay_within)
|
|||
e.accept();
|
||||
break;
|
||||
}
|
||||
} while (target && target != stay_within && !e.is_accepted());
|
||||
} while (target && !e.is_accepted());
|
||||
}
|
||||
|
||||
bool CObject::is_visible_for_timer_purposes() const
|
||||
|
|
Loading…
Reference in a new issue