aboutsummaryrefslogtreecommitdiffstats
path: root/Source/GeneratePreviewForURL.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2014-12-13 03:12:41 +0100
committerMax <post@wickenrode.com>2014-12-13 03:44:31 +0100
commit3cf0254e55d558565775e6cb20d36ea7e54beca1 (patch)
tree38842cf51bdfd2b28c74dba86646bc6523c767fc /Source/GeneratePreviewForURL.m
parent4ad26db45b46d8267fcb5203571b81bc8949b853 (diff)
downloadsequelpro-3cf0254e55d558565775e6cb20d36ea7e54beca1.tar.gz
sequelpro-3cf0254e55d558565775e6cb20d36ea7e54beca1.tar.bz2
sequelpro-3cf0254e55d558565775e6cb20d36ea7e54beca1.zip
Replace boxed integers in code with @ literals
Diffstat (limited to 'Source/GeneratePreviewForURL.m')
-rw-r--r--Source/GeneratePreviewForURL.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/GeneratePreviewForURL.m b/Source/GeneratePreviewForURL.m
index 2e0fc0cb..034d7bd1 100644
--- a/Source/GeneratePreviewForURL.m
+++ b/Source/GeneratePreviewForURL.m
@@ -488,7 +488,7 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview,
imgProps = [[NSMutableDictionary alloc] initWithCapacity:2];
[props setObject:[NSNumber numberWithInteger:previewHeight] forKey:(NSString *)kQLPreviewPropertyHeightKey];
- [props setObject:[NSNumber numberWithInt:600] forKey:(NSString *)kQLPreviewPropertyWidthKey];
+ [props setObject:@600 forKey:(NSString *) kQLPreviewPropertyWidthKey];
if(image) {
[imgProps setObject:@"image/tiff" forKey:(NSString *)kQLPreviewPropertyMIMETypeKey];