call initPackage in the ctor
This commit is contained in:
parent
678d5d81ef
commit
1ca9580149
@ -120,6 +120,9 @@ Package::Package(PackageStructure *structure)
|
||||
: d(new PackagePrivate())
|
||||
{
|
||||
d->structure = structure;
|
||||
if (d->structure) {
|
||||
d->structure.data()->initPackage(this);
|
||||
}
|
||||
}
|
||||
|
||||
Package::Package(const Package &other)
|
||||
|
Loading…
Reference in New Issue
Block a user