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") {
|
||||
structure = defaultPackageStructure(AppletComponent);
|
||||
structure->d->type = "Plasma/Applet";
|
||||
} else if (packageFormat == "Plasma/DataEngine") {
|
||||
structure = defaultPackageStructure(DataEngineComponent);
|
||||
structure->d->type = "Plasma/DataEngine";
|
||||
} else if (packageFormat == "Plasma/Runner") {
|
||||
structure = defaultPackageStructure(RunnerComponent);
|
||||
structure->d->type = "Plasma/Runner";
|
||||
} else if (packageFormat == "Plasma/Theme") {
|
||||
structure = Theme::packageStructure();
|
||||
structure->d->type = "Plasma/Theme";
|
||||
}
|
||||
|
||||
if (structure) {
|
||||
|
Loading…
Reference in New Issue
Block a user