mirror of
https://github.com/ksherlock/ProFUSE-Image-Opener.git
synced 2025-01-21 05:30:40 +00:00
remove document controller variable.
This commit is contained in:
parent
8e8add7510
commit
261aba02db
@ -11,7 +11,6 @@
|
||||
@interface Image_OpenerAppDelegate : NSObject <NSApplicationDelegate> {
|
||||
@private
|
||||
NSWindow *_window;
|
||||
NSDocumentController *_controller;
|
||||
}
|
||||
|
||||
@property (assign) IBOutlet NSWindow *window;
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
|
||||
{
|
||||
_controller = [[NSDocumentController sharedDocumentController] retain];
|
||||
// Insert code here to initialize your application
|
||||
}
|
||||
|
||||
@ -52,7 +51,7 @@
|
||||
{
|
||||
[self application: nil openFile: path];
|
||||
|
||||
[_controller noteNewRecentDocumentURL: url];
|
||||
[[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL: url];
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user