set the names properly in line with the requested types
svn path=/trunk/KDE/kdelibs/; revision=923909
This commit is contained in:
parent
ecb67cfee5
commit
5c1c03d6b7
@ -124,12 +124,16 @@ PackageStructure::Ptr PackageStructure::load(const QString &packageFormat)
|
|||||||
|
|
||||||
if (packageFormat == "Plasma/Applet") {
|
if (packageFormat == "Plasma/Applet") {
|
||||||
structure = defaultPackageStructure(AppletComponent);
|
structure = defaultPackageStructure(AppletComponent);
|
||||||
|
structure->d->type = "Plasma/Applet";
|
||||||
} else if (packageFormat == "Plasma/DataEngine") {
|
} else if (packageFormat == "Plasma/DataEngine") {
|
||||||
structure = defaultPackageStructure(DataEngineComponent);
|
structure = defaultPackageStructure(DataEngineComponent);
|
||||||
|
structure->d->type = "Plasma/DataEngine";
|
||||||
} else if (packageFormat == "Plasma/Runner") {
|
} else if (packageFormat == "Plasma/Runner") {
|
||||||
structure = defaultPackageStructure(RunnerComponent);
|
structure = defaultPackageStructure(RunnerComponent);
|
||||||
|
structure->d->type = "Plasma/Runner";
|
||||||
} else if (packageFormat == "Plasma/Theme") {
|
} else if (packageFormat == "Plasma/Theme") {
|
||||||
structure = Theme::packageStructure();
|
structure = Theme::packageStructure();
|
||||||
|
structure->d->type = "Plasma/Theme";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (structure) {
|
if (structure) {
|
||||||
|
Loading…
Reference in New Issue
Block a user