* The default package structure of a scripting data engine needs to be a

plasmoid, otherwise custom main script names won't work

svn path=/trunk/KDE/kdelibs/; revision=932329
This commit is contained in:
Richard Dale 2009-02-26 11:34:06 +00:00
parent 57162f188d
commit 3adfa46823

View File

@ -224,10 +224,10 @@ PackageStructure::Ptr defaultPackageStructure(ComponentType type)
{
switch (type) {
case AppletComponent:
case DataEngineComponent:
return PackageStructure::Ptr(new PlasmoidPackage());
break;
case RunnerComponent:
case DataEngineComponent:
{
PackageStructure::Ptr structure(new PackageStructure());
structure->addFileDefinition("mainscript", "code/main", i18n("Main Script File"));