Skip to content

Commit

Permalink
Fixing compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Laub committed Jul 2, 2010
1 parent fbc79ea commit 3d27956
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Perfecto/AppController.h
Expand Up @@ -11,7 +11,7 @@
#import "Document.h"
#import "FileSystemItem.h"

@interface AppController : NSObject
@interface AppController : NSObject <NSTextViewDelegate>
{
IBOutlet NSWindow* window;
IBOutlet NSTabView* m_tabView;
Expand Down
4 changes: 2 additions & 2 deletions Perfecto/AppController.m
Expand Up @@ -378,8 +378,8 @@ - (BOOL) application: (NSApplication *) theApplication openFile: (NSString*) fil
- (void) outlineViewDoubleClicked: (id) sender
{
FileSystemItem* item = [fileView itemAtRow: [fileView selectedRow]];
NSDictionary* attributes = [[NSFileManager defaultManager] fileAttributesAtPath: [item fullPath]
traverseLink: NO];
NSError* error;
NSDictionary* attributes = [[NSFileManager defaultManager] attributesOfItemAtPath:[item fullPath] error:&error];
NSString* fileType = [attributes fileType];
if(fileType == NSFileTypeRegular)
{
Expand Down
2 changes: 1 addition & 1 deletion Perfecto/FileSystemItem.h
Expand Up @@ -28,7 +28,7 @@

@end

@interface FileSystem : NSObject
@interface FileSystem : NSObject <NSOutlineViewDataSource>
{
FileSystemItem* m_root;
FSEventStreamContext* m_context;
Expand Down
1 change: 1 addition & 0 deletions Perfecto/Perfecto.xcodeproj/.gitignore
@@ -0,0 +1 @@
*.modelv3

0 comments on commit 3d27956

Please sign in to comment.