Commit e5b4707b authored by Don Gagne's avatar Don Gagne

Merge pull request #2459 from DonLakeFlyer/CompId

qWarning instead of assert
parents 09e505e2 8f595261
......@@ -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