migrateAwayFromDeprecatedIconForFileType

This commit is contained in:
Ryu481 2025-07-19 12:06:29 +02:00 committed by GitHub
commit a31335aae3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,7 @@ namespace MacUtils
{
@autoreleasepool
{
NSImage *image = [[NSWorkspace sharedWorkspace]
const NSImage *image = [[NSWorkspace sharedWorkspace]
iconForContentType:[UTType typeWithFilenameExtension:ext.toNSString()]];
if (image)
{