Commit 5f4d4b7b authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Expose add/removeObject on SensorContainer

This allows us to create SensorObjects in a separate context that does
not have access to a SensorContainer instance.
parent efed3313
......@@ -33,7 +33,7 @@ SensorObject::SensorObject(const QString &id, const QString &name, SensorContain
, m_name(name)
, m_path(parent->id() + "/" + id)
{
parent->addSubObject(this);
parent->addObject(this);
}
SensorObject::~SensorObject()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment