Commit f27a9eb1 authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Improve detection of recursive calls to Konqueror


(cherry picked from commit 45f44aeb)
parent 4a0bcd3c
Pipeline #271647 passed with stage
in 8 minutes and 51 seconds
......@@ -325,7 +325,7 @@ void UrlLoader::done(KJob *job)
bool UrlLoader::serviceIsKonqueror(KService::Ptr service)
{
return service && (service->desktopEntryName() == QLatin1String("konqueror") || service->exec().trimmed().startsWith(QLatin1String("kfmclient")));
return service && (service->desktopEntryName() == QLatin1String("konqueror") || service->exec().trimmed() == QLatin1String("konqueror") || service->exec().trimmed().startsWith(QLatin1String("kfmclient")));
}
void UrlLoader::launchMimeTypeFinderJob()
......
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