Don't use the DataEngineStructure for Applets
Use Plasmoid instead. REVIEW: 123690
This commit is contained in:
parent
662adbb41b
commit
ec6afe2a8a
@ -701,7 +701,7 @@ KPluginInfo::List PluginLoader::listContainmentsOfType(const QString &type,
|
|||||||
const QString &parentApp)
|
const QString &parentApp)
|
||||||
{
|
{
|
||||||
if (!KPackage::PackageLoader::self()->loadPackageStructure("Plasma/Applet")) {
|
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");
|
KConfigGroup group(KSharedConfig::openConfig(), "General");
|
||||||
|
Loading…
Reference in New Issue
Block a user