last linter commit
This commit is contained in:
parent
cf5fc3f922
commit
0ec57cca32
1 changed files with 2 additions and 2 deletions
|
@ -488,11 +488,11 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id <QLPreviewItem>)previewPanel:(QLPreviewPanel *)panel previewItemAtIndex:(NSInteger)index {
|
- (id <QLPreviewItem>)previewPanel:(QLPreviewPanel*)panel previewItemAtIndex:(NSInteger)index {
|
||||||
return [self quickLookItem];
|
return [self quickLookItem];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)previewFileAtPath:(NSString *)path withName:(NSString *) fileName {
|
- (void)previewFileAtPath:(NSString*)path withName:(NSString*) fileName {
|
||||||
NSURL * url = [[[NSURL alloc] initFileURLWithPath:path] autorelease];
|
NSURL * url = [[[NSURL alloc] initFileURLWithPath:path] autorelease];
|
||||||
[self setQuickLookItem:[[[AtomPreviewItem alloc] initWithURL:url title:fileName] autorelease]];
|
[self setQuickLookItem:[[[AtomPreviewItem alloc] initWithURL:url title:fileName] autorelease]];
|
||||||
[[QLPreviewPanel sharedPreviewPanel] makeKeyAndOrderFront:nil];
|
[[QLPreviewPanel sharedPreviewPanel] makeKeyAndOrderFront:nil];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue