Revert "support platformcontents for shell packages"

This reverts commit 9760601704.

thinking about it, a shell package should be really device specific per se
This commit is contained in:
Marco Martin 2014-07-24 14:05:58 +02:00
parent 9760601704
commit f6e4cb790e

View File

@ -249,18 +249,6 @@ void ShellPackage::initPackage(Plasma::Package *package)
{
package->setDefaultPackageRoot(PLASMA_RELATIVE_DATA_INSTALL_DIR "/shells/");
QStringList platform = KDeclarative::KDeclarative::runtimePlatform();
if (!platform.isEmpty()) {
QMutableStringListIterator it(platform);
while (it.hasNext()) {
it.next();
it.setValue("platformcontents/" + it.value());
}
platform.append("contents");
package->setContentsPrefixPaths(platform);
}
//Directories
package->addDirectoryDefinition("applet", "applet", i18n("Applets furniture"));
package->addDirectoryDefinition("configuration", "configuration", i18n("Applets furniture"));