Don't use the DataEngineStructure for Applets

Use Plasmoid instead.

REVIEW: 123690
This commit is contained in:
Aleix Pol 2015-05-08 19:24:38 +02:00
parent 662adbb41b
commit ec6afe2a8a

View File

@ -701,7 +701,7 @@ KPluginInfo::List PluginLoader::listContainmentsOfType(const QString &type,
const QString &parentApp)
{
if (!KPackage::PackageLoader::self()->loadPackageStructure("Plasma/Applet")) {
KPackage::PackageLoader::self()->addKnownPackageStructure("Plasma/Applet", new DataEnginePackage());
KPackage::PackageLoader::self()->addKnownPackageStructure("Plasma/Applet", new PlasmoidPackage());
}
KConfigGroup group(KSharedConfig::openConfig(), "General");