Skip to content
Commit fc8db03b authored by Milian Wolff's avatar Milian Wolff Committed by Milian Wolff
Browse files

Introduce MimeTypeChecker::hasWantedMimeTypes

This allows us to skip the slow MimeTypeChecker::wantedMimeTypes
call, which allocates a QStringList on every call. This removes
~200k temporary allocations that I see in one heaptrack file for
kmail.

Reviewed By: dvratil
Differential Revision: https://phabricator.kde.org/D7916
parent b145f47f
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