call initPackage in the ctor

This commit is contained in:
Aaron Seigo 2011-07-21 15:04:56 +02:00
parent 678d5d81ef
commit 1ca9580149

View File

@ -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)