more linter
This commit is contained in:
parent
1f60aff73d
commit
cf5fc3f922
1 changed files with 4 additions and 4 deletions
|
@ -470,21 +470,21 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||||
|
|
||||||
// Quicklook methods
|
// Quicklook methods
|
||||||
|
|
||||||
- (BOOL)acceptsPreviewPanelControl:(QLPreviewPanel *)panel {
|
- (BOOL)acceptsPreviewPanelControl:(QLPreviewPanel*)panel {
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)beginPreviewPanelControl:(QLPreviewPanel *)panel {
|
- (void)beginPreviewPanelControl:(QLPreviewPanel*)panel {
|
||||||
panel.delegate = self;
|
panel.delegate = self;
|
||||||
panel.dataSource = self;
|
panel.dataSource = self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)endPreviewPanelControl:(QLPreviewPanel *)panel {
|
- (void)endPreviewPanelControl:(QLPreviewPanel*)panel {
|
||||||
panel.delegate = nil;
|
panel.delegate = nil;
|
||||||
panel.dataSource = nil;
|
panel.dataSource = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSInteger)numberOfPreviewItemsInPreviewPanel:(QLPreviewPanel *)panel {
|
- (NSInteger)numberOfPreviewItemsInPreviewPanel:(QLPreviewPanel*)panel {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue