From 03a88c40c02939172881f6a200f2834e843ddbcb Mon Sep 17 00:00:00 2001 From: Christoph Feck Date: Tue, 30 Oct 2012 21:34:41 +0100 Subject: [PATCH] SVN_SILENT removed --- private/packages.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/private/packages.cpp b/private/packages.cpp index 5213d2ddb..24e4d05b3 100644 --- a/private/packages.cpp +++ b/private/packages.cpp @@ -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-");