Commit f0cc8249 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Make the Device::objectId the QObject::objectName

Makes for easier debugging.
parent 631fa84e
......@@ -44,6 +44,7 @@ Device::Device(GstDevice *device, QObject* parent)
auto st = gst_device_get_properties(device);
m_objectId = objectIdFromProperties(st);
gst_structure_free(st);
setObjectName(m_objectId);
}
Device::~Device()
......
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