Skip to content

Truly independent web browser

UI/Qt: Allocate the macOS PNG pasteboard converter with kmalloc

sideshowbarkercb3f4fafb851
diff --git a/UI/Qt/Application.cpp b/UI/Qt/Application.cpp
index 71bc8048ded..17075529d18 100644
--- a/UI/Qt/Application.cpp
+++ b/UI/Qt/Application.cpp
@@ -667,6 +667,8 @@ private:
// come from a page.
class PNGMimeConverter final : public QUtiMimeConverter {
public:
+ AK_ALLOC_WITH_KMALLOC;
+
virtual QString utiForMime(QString const& mime) const override
{
return mime == "image/png" ? QStringLiteral("public.png") : QString {};