mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
remove unneeded hardcoded default values
This commit is contained in:
parent
4777a845b6
commit
f20f90e7ca
1 changed files with 2 additions and 2 deletions
|
@ -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"];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue