Revision: 16300
http://sourceforge.net/p/skim-app/code/16300
Author: hofman
Date: 2026-05-23 21:19:51 +0000 (Sat, 23 May 2026)
Log Message:
-----------
image attachment keys include the extension
Modified Paths:
--------------
trunk/SkimQuickLookPreview/SKPreviewProvider.m
Modified: trunk/SkimQuickLookPreview/SKPreviewProvider.m
===================================================================
--- trunk/SkimQuickLookPreview/SKPreviewProvider.m 2026-05-23 21:10:50 UTC
(rev 16299)
+++ trunk/SkimQuickLookPreview/SKPreviewProvider.m 2026-05-23 21:19:51 UTC
(rev 16300)
@@ -93,7 +93,7 @@
NSData *imageData = [NSData
dataWithContentsOfURL:imageURL];
if (imageData) {
QLPreviewReplyAttachment *attachment =
[[QLPreviewReplyAttachment alloc] initWithData:imageData contentType:UTTypePNG];
- [attachments setObject:attachment forKey:type];
+ [attachments setObject:attachment forKey:[type
stringByAppendingPathExtension:@"png"]];
}
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit