SVN_SILENT removed

This commit is contained in:
Christoph Feck 2012-10-30 21:34:41 +01:00 committed by Aaron Seigo
parent f024af5de1
commit 03a88c40c0

View File

@ -73,7 +73,6 @@ void ChangeableMainScriptPackage::pathChanged(Package *package)
QString PlasmoidPackage::findMainScript(Package *package)
{
<<<<<<< HEAD
const QString mainScript = package->path() + "/ui/main.qml";
if (QFile::exists(mainScript)) {
return mainScript;
@ -84,19 +83,10 @@ QString PlasmoidPackage::findMainScript(Package *package)
void PlasmoidPackage::initPackage(Package *package)
{
ChangeableMainScriptPackage::initPackage(package);
QString pathsString(getenv("PLASMA_CUSTOM_PREFIX_PATHS"));
if (!pathsString.isEmpty()) {
QStringList prefixPaths(pathsString.split(":"));
if (!prefixPaths.isEmpty()) {
package->setContentsPrefixPaths(prefixPaths);
}
=======
QStringList platform = KDeclarative::runtimePlatform();
if (!platform.isEmpty()) {
platform.append("contents");
setContentsPrefixPaths(platform);
>>>>>>> use KDeclarative to determine the platform paths
}
package->setServicePrefix("plasma-applet-");