Changeset 6563


Ignore:
Timestamp:
Aug 17, 2008, 2:13:13 PM (13 years ago)
Author:
livings124
Message:

remove unneeded hardcoded default values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r6529 r6563  
    8181        if ([fDefaults integerForKey: @"UploadLimit"] < 0)
    8282        {
    83             [fDefaults setInteger: 20 forKey: @"UploadLimit"];
     83            [fDefaults removeObjectForKey: @"UploadLimit"];
    8484            [fDefaults setBool: NO forKey: @"CheckUpload"];
    8585        }
    8686        if ([fDefaults integerForKey: @"DownloadLimit"] < 0)
    8787        {
    88             [fDefaults setInteger: 20 forKey: @"DownloadLimit"];
     88            [fDefaults removeObjectForKey: @"DownloadLimit"];
    8989            [fDefaults setBool: NO forKey: @"CheckDownload"];
    9090        }
Note: See TracChangeset for help on using the changeset viewer.