This commit is contained in:
Aaron Seigo 2011-05-06 12:21:58 +02:00
parent 7e99f4c2cd
commit 15dbd12daf
2 changed files with 2 additions and 2 deletions

View File

@ -608,7 +608,7 @@ void PackageStructurePrivate::createPackageMetadata(const QString &path)
metadata = new PackageMetadata(metadataPath); metadata = new PackageMetadata(metadataPath);
} }
PackageMetadata PackageStructure::metadata() PackageMetadata PackageStructure::metadata() const
{ {
if (!d->metadata && !d->path.isEmpty()) { if (!d->metadata && !d->path.isEmpty()) {
QFileInfo fileInfo(d->path); QFileInfo fileInfo(d->path);

View File

@ -315,7 +315,7 @@ public:
/** /**
* @return the package metadata object. * @return the package metadata object.
*/ */
virtual PackageMetadata metadata(); virtual PackageMetadata metadata() const;
/** /**
* @return true if paths/symlinks outside the package itself should be followed. * @return true if paths/symlinks outside the package itself should be followed.