Changeset 10316


Ignore:
Timestamp:
Mar 7, 2010, 2:28:50 AM (13 years ago)
Author:
livings124
Message:

one less warning

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoPeersViewController.h

    r10309 r10316  
    4343
    4444- (void) clearPeers;
     45- (void) stopWebSeedAnimation;
    4546
    4647@end
  • trunk/macosx/InfoPeersViewController.m

    r10314 r10316  
    438438}
    439439
     440- (void) stopWebSeedAnimation
     441{
     442    if (fWebSeedTableAnimation)
     443    {
     444        [fWebSeedTableAnimation stopAnimation]; // jumps to end frame
     445        [fWebSeedTableAnimation release];
     446        fWebSeedTableAnimation = nil;
     447    }
     448}
     449
    440450@end
    441451
  • trunk/macosx/InfoWindowController.m

    r10314 r10316  
    207207}
    208208
    209 #warning fix
    210 /*- (NSSize) windowWillResize: (NSWindow *) window toSize: (NSSize) proposedFrameSize
    211 {
    212     //this is an edge-case - just stop the animation (stopAnimation jumps to end frame)
    213     if (fWebSeedTableAnimation)
    214     {
    215         [fWebSeedTableAnimation stopAnimation];
    216         [fWebSeedTableAnimation release];
    217         fWebSeedTableAnimation = nil;
    218     }
     209- (NSSize) windowWillResize: (NSWindow *) window toSize: (NSSize) proposedFrameSize
     210{
     211    //this is an edge-case - just stop the animation
     212    [fPeersViewController stopWebSeedAnimation];
    219213   
    220214    return proposedFrameSize;
    221 }*/
     215}
    222216
    223217- (void) windowWillClose: (NSNotification *) notification
     
    491485                    [NSString stringWithFormat: NSLocalizedString(@"%@ total", "Inspector -> selected torrents"),
    492486                        [NSString stringForFileSize: size]]]];
    493                 [fBasicInfoField setToolTip: [NSString stringWithFormat: NSLocalizedString(@"%llu bytes", "Inspector -> selected torrents"),
    494                                                 size]];
     487                [fBasicInfoField setToolTip: [NSString stringWithFormat: NSLocalizedString(@"%llu bytes",
     488                                                "Inspector -> selected torrents"), size]];
    495489            }
    496490            else
     
    535529            {
    536530                NSString * fileString;
    537                 NSInteger fileCount = [torrent fileCount];
     531                const NSInteger fileCount = [torrent fileCount];
    538532                if (fileCount == 1)
    539533                    fileString = NSLocalizedString(@"1 file", "Inspector -> selected torrents");
Note: See TracChangeset for help on using the changeset viewer.