From 8bd570d976f56eb535ad5a04b55bc59dda81a28e Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 3 Jun 2008 18:00:51 +0000 Subject: [PATCH] get rid of an unnecessary warning --- macosx/Controller.m | 4 +--- macosx/PrefsController.m | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index a5380b421..2d1cc7961 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -4250,9 +4250,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy if ([[fTableView selectedTorrents] containsObject: torrent]) { - #warning update the file table as well - - [fInfoController updateInfoStats]; + [fInfoController updateInfoStats]; //this will reload the file table [fInfoController updateOptions]; } diff --git a/macosx/PrefsController.m b/macosx/PrefsController.m index c7c01ce9e..5e3c442a4 100644 --- a/macosx/PrefsController.m +++ b/macosx/PrefsController.m @@ -668,7 +668,7 @@ [fDefaults setInteger: upLimit forKey: @"UploadLimit"]; - //update gui if necessary + //update gui if loaded if (fHasLoaded) { //encryption handled by bindings -- 2.40.0