mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibCore: Remove Core::Object::is_widget() in favor of RTTI
This commit is contained in:
parent
42179715c3
commit
7841528cd4
4 changed files with 7 additions and 11 deletions
|
@ -40,9 +40,8 @@ IntrusiveList<Object, &Object::m_all_objects_list_node>& Object::all_objects()
|
|||
return objects;
|
||||
}
|
||||
|
||||
Object::Object(Object* parent, bool is_widget)
|
||||
Object::Object(Object* parent)
|
||||
: m_parent(parent)
|
||||
, m_widget(is_widget)
|
||||
{
|
||||
all_objects().append(*this);
|
||||
if (m_parent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue