From f20f90e7ca9ae18391032aed5b9b44ee7c1f8cda Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 17 Aug 2008 14:13:13 +0000 Subject: [PATCH] remove unneeded hardcoded default values --- macosx/PrefsController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/PrefsController.m b/macosx/PrefsController.m index 246fabfc4..59b9ea913 100644 --- a/macosx/PrefsController.m +++ b/macosx/PrefsController.m @@ -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"]; }