Merge pull request #895 from Scrumplex/fix-component-creation
Use makeShared for importing components
This commit is contained in:
commit
9f202caf93
@ -763,7 +763,7 @@ bool PackProfile::installComponents(QStringList selectedFiles)
|
||||
continue;
|
||||
}
|
||||
|
||||
appendComponent(new Component(this, versionFile->uid, versionFile));
|
||||
appendComponent(makeShared<Component>(this, versionFile->uid, versionFile));
|
||||
}
|
||||
|
||||
scheduleSave();
|
||||
|
Loading…
Reference in New Issue
Block a user