Commit 522d6400 authored by Alexey's avatar Alexey

Added parent to the new FactMetaData objects to be owned by parent

parent e1b127a6
......@@ -214,7 +214,7 @@ void PX4ParameterMetaData::loadParameterFactMetaDataFile(const QString& metaData
// Now that we know type we can create meta data object and add it to the system
metaData = new FactMetaData(foundType);
metaData = new FactMetaData(foundType, this);
Q_CHECK_PTR(metaData);
if (_mapParameterName2FactMetaData.contains(name)) {
// We can't trust the meta data since we have dups
......
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