The @p structure parameter isn't treated as const by the implementation, which calls setPath() on it; don't pretend that it is in the headers.
CCMAIL: aseigo@kde.org svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780230
This commit is contained in:
parent
1a84d94eeb
commit
b3eae6af7b
@ -46,7 +46,7 @@ class PLASMA_EXPORT Package
|
||||
* @arg structure the package structure describing this package
|
||||
**/
|
||||
Package(const QString& packageRoot, const QString& package,
|
||||
const PackageStructure::Ptr structure);
|
||||
PackageStructure::Ptr structure);
|
||||
|
||||
/**
|
||||
* Construct a Package object.
|
||||
@ -54,7 +54,7 @@ class PLASMA_EXPORT Package
|
||||
* @arg packagePath full path to the package directory
|
||||
* @arg structure the package structure describing this package
|
||||
*/
|
||||
Package(const QString &packagePath, const PackageStructure::Ptr structure);
|
||||
Package(const QString &packagePath, PackageStructure::Ptr structure);
|
||||
|
||||
//TODO for 4.1: be able to load an uninstalled/uncompressed file.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user