summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-07 08:48:15 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-08 01:50:04 -0800
commit70393dbc2bc6a9d5ff532ca1b30a22534164ea18 (patch)
tree2acd97e33192c347b2b7f34d2d5dbba9119b7c26
parent7aa82ca2d079e16eacad05edc88848c959f46a35 (diff)
Remove obsolete CYEmulatedLoadingController::database_.
-rw-r--r--MobileCydia.mm9
1 files changed, 1 insertions, 8 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 7a99e2f..76f8fef 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4233,7 +4233,6 @@ static _H<NSMutableSet> Diversions_;
/* }}} */
/* Emulated Loading Controller {{{ */
@interface CYEmulatedLoadingController : CyteViewController {
- _transient Database *database_;
_H<CYLoadingIndicator> indicator_;
_H<UITabBar> tabbar_;
_H<UINavigationBar> navbar_;
@@ -4243,12 +4242,6 @@ static _H<NSMutableSet> Diversions_;
@implementation CYEmulatedLoadingController
-- (id) initWithDatabase:(Database *)database {
- if ((self = [super init]) != nil) {
- database_ = database;
- } return self;
-}
-
- (void) loadView {
[self setView:[[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease]];
@@ -9351,7 +9344,7 @@ _trace();
[window_ setUserInteractionEnabled:NO];
[self setupViewControllers];
- emulated_ = [[[CYEmulatedLoadingController alloc] initWithDatabase:database_] autorelease];
+ emulated_ = [[[CYEmulatedLoadingController alloc] init] autorelease];
[window_ addSubview:[emulated_ view]];
[self performSelector:@selector(loadData) withObject:nil afterDelay:0];