Commit 2b8038b0 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Don't warn about missing subsystems

parent f51cc8ff
......@@ -130,8 +130,7 @@ void KSGRDIface::onSensorMetaDataRetrieved(int id, const QList<QByteArray> &answ
const QString propertyId = key.mid(propertyIndex + 1);
auto subsystem = m_subsystems[subsystemId];
if (Q_UNLIKELY(!subsystem)) {
qDebug() << "could not find subsystem" << subsystemId;
if (!subsystem) {
return;
}
auto sensorObject = subsystem->object(objectId);
......
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