remove unneeded hardcoded default values

This commit is contained in:
Mitchell Livingston 2008-08-17 14:13:13 +00:00
parent 4777a845b6
commit f20f90e7ca
1 changed files with 2 additions and 2 deletions

View File

@ -80,12 +80,12 @@
//checks for old version speeds of -1
if ([fDefaults integerForKey: @"UploadLimit"] < 0)
{
[fDefaults setInteger: 20 forKey: @"UploadLimit"];
[fDefaults removeObjectForKey: @"UploadLimit"];
[fDefaults setBool: NO forKey: @"CheckUpload"];
}
if ([fDefaults integerForKey: @"DownloadLimit"] < 0)
{
[fDefaults setInteger: 20 forKey: @"DownloadLimit"];
[fDefaults removeObjectForKey: @"DownloadLimit"];
[fDefaults setBool: NO forKey: @"CheckDownload"];
}