Commit df49f36e authored by Don Gagne's avatar Don Gagne

qWarning instead of assert

parent ef2586f8
......@@ -349,7 +349,9 @@ int ParameterLoader::_actualComponentId(int componentId)
{
if (componentId == FactSystem::defaultComponentId) {
componentId = _defaultComponentId;
Q_ASSERT(componentId != FactSystem::defaultComponentId);
if (componentId != FactSystem::defaultComponentId) {
qWarning() << "Default component id not set";
}
}
return componentId;
......
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