fix: use makeShared for importing components
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
b46aca52ee
commit
651e511ff0
@ -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