Changeset 12629


Ignore:
Timestamp:
Aug 5, 2011, 11:21:34 PM (10 years ago)
Author:
livings124
Message:

don't attempt to generate the dock menu when quitting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r12628 r12629  
    38773877- (NSMenu *) applicationDockMenu: (NSApplication *) sender
    38783878{
     3879    if (fQuitting)
     3880        return nil;
     3881   
    38793882    NSInteger seeding = 0, downloading = 0;
    3880     if (!fQuitting)
    3881     {
    3882         for (Torrent * torrent in fTorrents)
    3883         {
    3884             if ([torrent isSeeding])
    3885                 seeding++;
    3886             else if ([torrent isActive])
    3887                 downloading++;
    3888             else;
    3889         }
     3883    for (Torrent * torrent in fTorrents)
     3884    {
     3885        if ([torrent isSeeding])
     3886            seeding++;
     3887        else if ([torrent isActive])
     3888            downloading++;
     3889        else;
    38903890    }
    38913891   
Note: See TracChangeset for help on using the changeset viewer.