prepend "platformcontents" as per the plan
This commit is contained in:
parent
70e4734eda
commit
259c155c9b
@ -46,6 +46,11 @@ PlasmoidPackage::PlasmoidPackage(QObject *parent)
|
|||||||
{
|
{
|
||||||
QStringList platform = KDeclarative::runtimePlatform();
|
QStringList platform = KDeclarative::runtimePlatform();
|
||||||
if (!platform.isEmpty()) {
|
if (!platform.isEmpty()) {
|
||||||
|
QMutableStringListIterator it(platform);
|
||||||
|
while (it.hasNext()) {
|
||||||
|
it.next();
|
||||||
|
it.setValue("platformcontents/" + it.value());
|
||||||
|
}
|
||||||
platform.append("contents");
|
platform.append("contents");
|
||||||
setContentsPrefixPaths(platform);
|
setContentsPrefixPaths(platform);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user