* The default package structure of a scripting data engine needs to be a
plasmoid, otherwise custom main script names won't work svn path=/branches/KDE/4.2/kdelibs/; revision=932319
This commit is contained in:
parent
334a27933d
commit
d18c772f29
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user