constify
This commit is contained in:
parent
7e99f4c2cd
commit
15dbd12daf
@ -608,7 +608,7 @@ void PackageStructurePrivate::createPackageMetadata(const QString &path)
|
||||
metadata = new PackageMetadata(metadataPath);
|
||||
}
|
||||
|
||||
PackageMetadata PackageStructure::metadata()
|
||||
PackageMetadata PackageStructure::metadata() const
|
||||
{
|
||||
if (!d->metadata && !d->path.isEmpty()) {
|
||||
QFileInfo fileInfo(d->path);
|
||||
|
@ -315,7 +315,7 @@ public:
|
||||
/**
|
||||
* @return the package metadata object.
|
||||
*/
|
||||
virtual PackageMetadata metadata();
|
||||
virtual PackageMetadata metadata() const;
|
||||
|
||||
/**
|
||||
* @return true if paths/symlinks outside the package itself should be followed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user