add missing /, now it finds platform specific qml properly

This commit is contained in:
Aaron Seigo 2012-11-19 18:09:30 +01:00
parent 2cda92af4c
commit 9303b7592a

View File

@ -127,7 +127,7 @@ void FullScreenWindow::init(const QString &componentName)
const QString target = KDeclarative::componentsTarget();
QString filePath;
if (target != KDeclarative::defaultComponentsTarget()) {
const QString file = "platformimports/" % target % "org/kde/plasma/components/" % componentName % ".qml";
const QString file = "platformimports/" % target % "/org/kde/plasma/components/" % componentName % ".qml";
filePath = KStandardDirs::locate("module", file);
}