Changeset 9095 for trunk/macosx/Controller.m
- Timestamp:
- Sep 11, 2009, 3:15:04 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r9055 r9095 662 662 //remember window states and close all windows 663 663 [fDefaults setBool: [[fInfoController window] isVisible] forKey: @"InfoVisible"]; 664 [[NSApp windows] makeObjectsPerformSelector: @selector(close)]; 664 665 const BOOL quickLookOpen = [NSApp isOnSnowLeopardOrBetter] && [QLPreviewPanel sharedPreviewPanelExists] 666 && [[QLPreviewPanel sharedPreviewPanel] isVisible]; 667 for (NSWindow * window in [NSApp windows]) 668 { 669 if (!quickLookOpen || window != [QLPreviewPanel sharedPreviewPanel]) //hide quicklook window last to avoid animation 670 [window orderOut: nil]; 671 } 672 673 [[QLPreviewPanel sharedPreviewPanel] updateController]; 674 [[QLPreviewPanel sharedPreviewPanel] orderOut: nil]; 675 665 676 [self showStatusBar: NO animate: NO]; 666 677 [self showFilterBar: NO animate: NO];
Note: See TracChangeset
for help on using the changeset viewer.