Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
Konqueror
Commits
f27a9eb1
Commit
f27a9eb1
authored
Nov 20, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/urlloader.cpp
View file @
f27a9eb1
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment