Changeset 9120


Ignore:
Timestamp:
Sep 15, 2009, 4:20:41 AM (13 years ago)
Author:
livings124
Message:

replace a deprecated method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BlocklistScheduler.m

    r7659 r9120  
    6262    NSDate * lastUpdateDate = [[NSUserDefaults standardUserDefaults] objectForKey: @"BlocklistLastUpdate"];
    6363    if (lastUpdateDate)
    64         lastUpdateDate = [lastUpdateDate addTimeInterval: FULL_WAIT];
     64        lastUpdateDate = [lastUpdateDate dateByAddingTimeInterval: FULL_WAIT];
    6565    NSDate * closeDate = [NSDate dateWithTimeIntervalSinceNow: SMALL_DELAY];
    6666   
Note: See TracChangeset for help on using the changeset viewer.