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
6f4e071d
Commit
6f4e071d
authored
Aug 02, 2022
by
Stefano Crocco
Browse files
Don't compare a pluginId with a plugin name
parent
1bf1bd27
Changes
1
Hide whitespace changes
Inline
Side-by-side
webenginepart/src/webenginepage.cpp
View file @
6f4e071d
...
...
@@ -220,7 +220,7 @@ bool WebEnginePage::shouldOpenLocalUrl(const QUrl& url) const
QString
partToUse
;
bool
success
=
success
=
QMetaObject
::
invokeMethod
(
bi
,
"partForLocalFile"
,
Q_RETURN_ARG
(
QString
,
partToUse
),
Q_ARG
(
QString
,
url
.
path
()));
if
(
success
)
{
return
partToUse
==
m_part
->
metaData
().
name
();
return
partToUse
==
m_part
->
metaData
().
pluginId
();
}
}
return
false
;
...
...
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