Simplify usage of QMimeDatabase.
ClosedPublic

Authored by dfaure on Sat, Jan 11, 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.Sat, Jan 11, 7:40 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptSat, Jan 11, 7:40 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
dfaure requested review of this revision.Sat, Jan 11, 7:40 PM
ngraham accepted this revision.Sat, Jan 11, 10:17 PM
This revision is now accepted and ready to land.Sat, Jan 11, 10:17 PM
apol accepted this revision.Sat, Jan 11, 11:59 PM
dfaure closed this revision.Sun, Jan 12, 9:56 AM