Simplify usage of QMimeDatabase.
ClosedPublic

Authored by dfaure on Jan 11 2020, 7:40 PM.

Details

Summary

suffixForFileName is case insensitive, no need to lowercase the path.

Also no need to call toDisplayString, only the path matters.

Test Plan

make && ctest

Diff Detail

Repository
R241 KIO
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 20973
Build 20991: arc lint + arc unit
dfaure created this revision.Jan 11 2020, 7:40 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 11 2020, 7:40 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
dfaure requested review of this revision.Jan 11 2020, 7:40 PM
ngraham accepted this revision.Jan 11 2020, 10:17 PM
This revision is now accepted and ready to land.Jan 11 2020, 10:17 PM
apol accepted this revision.Jan 11 2020, 11:59 PM
dfaure closed this revision.Jan 12 2020, 9:56 AM