prepend "platformcontents" as per the plan

This commit is contained in:
Aaron Seigo 2012-10-31 15:59:01 +01:00
parent 70e4734eda
commit 259c155c9b

View File

@ -46,6 +46,11 @@ PlasmoidPackage::PlasmoidPackage(QObject *parent)
{
QStringList platform = KDeclarative::runtimePlatform();
if (!platform.isEmpty()) {
QMutableStringListIterator it(platform);
while (it.hasNext()) {
it.next();
it.setValue("platformcontents/" + it.value());
}
platform.append("contents");
setContentsPrefixPaths(platform);
}