Changeset 363


Ignore:
Timestamp:
Jun 15, 2006, 2:46:54 AM (16 years ago)
Author:
livings124
Message:

stupid defaults!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r362 r363  
    4545- (id) initWithPath: (NSString *) path lib: (tr_handle_t *) lib
    4646{
     47    fDefaults = [NSUserDefaults standardUserDefaults];
     48
    4749    fPrivateTorrent = [fDefaults boolForKey: @"SavePrivateTorrent"];
    4850    fPublicTorrent = !fPrivateTorrent || ![fDefaults boolForKey: @"DeleteOriginalTorrent"];
     
    6769- (id) initWithHistory: (NSDictionary *) history lib: (tr_handle_t *) lib
    6870{
     71    fDefaults = [NSUserDefaults standardUserDefaults];
     72
    6973    id torrent;
    7074    NSNumber * privateCopy, * publicCopy;
     
    556560
    557561    fLib = lib;
    558     fDefaults = [NSUserDefaults standardUserDefaults];
    559562
    560563    int error;
     
    577580
    578581    fLib = lib;
    579     fDefaults = [NSUserDefaults standardUserDefaults];
    580582
    581583    int error;
Note: See TracChangeset for help on using the changeset viewer.