Changeset 3141


Ignore:
Timestamp:
Sep 22, 2007, 3:27:56 PM (14 years ago)
Author:
livings124
Message:

remove another warning

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.h

    r3112 r3141  
    235235- (void) prepareForUpdate:  (NSNotification *) notification;
    236236
    237 - (NSString *) applicationSupportFolder;
    238 
    239237@end
    240238
  • trunk/macosx/Controller.m

    r3136 r3141  
    308308   
    309309    //load previous transfers
    310     NSArray * history = [[NSArray alloc] initWithContentsOfFile: [[self applicationSupportFolder]
    311                                                 stringByAppendingPathComponent: @"Transfers.plist"]];
     310    NSArray * history = [[NSArray alloc] initWithContentsOfFile:
     311        [NSHomeDirectory() stringByAppendingPathComponent: @"/Library/Application Support/Transmission/Transfers.plist"]];
    312312   
    313313    //old version saved transfer info in prefs file
     
    32923292}
    32933293
    3294 #warning move to additions
    3295 - (NSString *) applicationSupportFolder
    3296 {
    3297     return [[NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES) objectAtIndex: 0]
    3298                 stringByAppendingPathComponent: [[NSProcessInfo processInfo] processName]];
    3299 }
    3300 
    33013294- (void) ipcQuit
    33023295{
Note: See TracChangeset for help on using the changeset viewer.