Changeset 9268


Ignore:
Timestamp:
Oct 10, 2009, 1:24:13 PM (13 years ago)
Author:
livings124
Message:

re-add r9257 on 10.6

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r9267 r9268  
    172172    BOOL othersRunning = NO;
    173173   
    174     #warning enable when 10.6-only
    175     /*if ([NSApp isOnSnowLeopardOrBetter])
    176     {
    177         NSArray * apps = [NSRunningApplication runningApplicationsWithBundleIdentifier: [[NSBundle mainBundle] bundleIdentifier]];
     174    if ([NSApp isOnSnowLeopardOrBetter])
     175    {
     176        NSArray * apps = [NSRunningApplicationSL runningApplicationsWithBundleIdentifier: [[NSBundle mainBundle] bundleIdentifier]];
    178177        othersRunning = [apps count] > 1;
    179178    }
    180     else*/
     179    else
    181180    {
    182181        NSString * bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier];
  • trunk/macosx/NSApplicationAdditions.h

    r9267 r9268  
    2424
    2525#define QLPreviewPanelSL NSClassFromString(@"QLPreviewPanel")
     26#define NSRunningApplicationSL NSClassFromString(@"NSRunningApplication")
    2627
    2728@interface NSApplication (NSApplicationAdditions)
  • trunk/macosx/TorrentTableView.h

    r9267 r9268  
    3232#define GROUP_SEPARATOR_HEIGHT 18.0
    3333
    34 #warning revert
     34#warning uncomment
    3535@interface TorrentTableView : NSOutlineView //<QLPreviewPanelDataSource, QLPreviewPanelDelegate>
    3636{
Note: See TracChangeset for help on using the changeset viewer.