prepend platformcontents to prefixes
This commit is contained in:
parent
5f22041391
commit
09cf013164
@ -85,6 +85,12 @@ void PlasmoidPackage::initPackage(Package *package)
|
||||
{
|
||||
QStringList platform = KDeclarative::runtimePlatform();
|
||||
if (!platform.isEmpty()) {
|
||||
QMutableStringListIterator it(platform);
|
||||
while (it.hasNext()) {
|
||||
it.next();
|
||||
it.setValue("platformcontents/" + it.value());
|
||||
}
|
||||
|
||||
platform.append("contents");
|
||||
package->setContentsPrefixPaths(platform);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user