Ignore:
Timestamp:
May 29, 2012, 1:03:21 AM (9 years ago)
Author:
livings124
Message:

session_handle does not need to be a global variable in the prefs controller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BlocklistDownloader.m

    r13253 r13326  
    2626#import "BlocklistDownloaderViewController.h"
    2727#import "BlocklistScheduler.h"
    28 #import "PrefsController.h"
     28#import "Controller.h"
    2929
    3030@interface BlocklistDownloader (Private)
     
    144144       
    145145        dispatch_async(dispatch_get_main_queue(), ^{
    146             const int count = tr_blocklistSetContent([PrefsController handle], [fDestination UTF8String]);
     146            const int count = tr_blocklistSetContent([(Controller *)[NSApp delegate] sessionHandle], [fDestination UTF8String]);
    147147           
    148148            //delete downloaded file
Note: See TracChangeset for help on using the changeset viewer.