fix build of libplasma merged from 4.10 branch into frameworks

This commit is contained in:
Aaron Seigo 2012-10-31 12:19:38 +01:00
parent 9b7b6054ee
commit 5f22041391
2 changed files with 1 additions and 28 deletions

View File

@ -18,34 +18,7 @@
*******************************************************************************/
#include "packagestructure.h"
<<<<<<< HEAD
#include "private/package_p.h"
=======
#include "config-plasma.h"
#include <QDir>
#include <QMap>
#include <QMutableListIterator>
#include <QFileInfo>
#include <kconfiggroup.h>
#include <kdebug.h>
#ifndef PLASMA_NO_KIO
#include <kio/job.h>
#endif
#include <kmimetype.h>
#include <kstandarddirs.h>
#include <kservicetypetrader.h>
#include <ktar.h>
#include <ktemporaryfile.h>
#include <ktempdir.h>
#include <kurl.h>
#include <kzip.h>
#include "package.h"
#include "private/packages_p.h"
#include "theme.h"
namespace Plasma
{

View File

@ -86,7 +86,7 @@ void PlasmoidPackage::initPackage(Package *package)
QStringList platform = KDeclarative::runtimePlatform();
if (!platform.isEmpty()) {
platform.append("contents");
setContentsPrefixPaths(platform);
package->setContentsPrefixPaths(platform);
}
package->setServicePrefix("plasma-applet-");