Skip to content
Commit 3e5a56b9 authored by David Faure's avatar David Faure
Browse files

Fix warning: mimeType "x-scheme-handler/file" not found

commit b5af9b4eb021f772ce27b466409f6bd1efd72969 ported KIO::DesktopExecParser::hasSchemeHandler
from KMimeTypeTrader to KApplicationTrader, but it turns out there was a slight difference
between the two: KMimeTypeTrader had two if()s for silencing the x-scheme-handler/* warnings,
while KApplicationTrader had only one. Maybe I misread the code back then and failed to see
the "mime = mimeType" line (rather than return) which makes us proceed further down after
QMimeDatabase says the mimetype doesn't exist.

BUG: 442721
FIXED-IN: 5.116
(cherry picked from commit d0f416ea)
parent 837a2cff
Pipeline #620741 passed with stage
in 2 minutes and 21 seconds
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