Change-Id: If8d3964f82ff1ca92aa9d1df05bd4573261401fb
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
const QJsonObject object = array.at(c).toObject();
if (object.value(QStringLiteral("type")).toString() == QLatin1String("module")) {
const QString path = object.value(QStringLiteral("path")).toString();
- result.modulesDirectories.append(path);
- findFileRecursion(QDir(path), Platform(platform), debug, &result.plugins);
+ if (!path.isEmpty()) {
+ result.modulesDirectories.append(path);
+ findFileRecursion(QDir(path), Platform(platform), debug, &result.plugins);
+ }
}
}
result.ok = true;