From 5c1c03d6b72f1db178f000b2e811f5b30cb36d27 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 9 Feb 2009 18:02:03 +0000 Subject: [PATCH] set the names properly in line with the requested types svn path=/trunk/KDE/kdelibs/; revision=923909 --- packagestructure.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packagestructure.cpp b/packagestructure.cpp index 44f1ea31c..0a63fb0aa 100644 --- a/packagestructure.cpp +++ b/packagestructure.cpp @@ -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) {