diff --git a/plugins/platforms/drm/drm_object.cpp b/plugins/platforms/drm/drm_object.cpp index cfecd7d4b6..2aff328ff3 100644 --- a/plugins/platforms/drm/drm_object.cpp +++ b/plugins/platforms/drm/drm_object.cpp @@ -61,8 +61,10 @@ void DrmObject::initProp(int n, drmModeObjectProperties *properties, QVectorname << "' (id " << prop->prop_id << "): " << properties->prop_values[i]; m_props[n] = new Property(prop.data(), properties->prop_values[i], enumNames); + return; } } + qCWarning(KWIN_DRM) << "Initializing property" << m_propsNames[n] << "failed"; } bool DrmObject::atomicPopulate(drmModeAtomicReq *req) const