Commit 047083b2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use directly Qt::SkipEmptyParts

parent da325b12
......@@ -172,7 +172,7 @@ MenuItem *MenuItem::descendantForModule(const QString &moduleName)
if (d->service) {
if (d->service->desktopEntryName() == moduleName) {
return this;
} else if (item().fileName().length() > 0 && item().fileName().split(QLatin1Char('.'), QString::SkipEmptyParts).first() == moduleName) {
} else if (item().fileName().length() > 0 && item().fileName().split(QLatin1Char('.'), Qt::SkipEmptyParts).first() == moduleName) {
return this;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment