silence 2 warnings
This commit is contained in:
parent
6985118bd4
commit
15ad92b728
|
@ -309,9 +309,15 @@ tr_session * fHandle;
|
|||
return [item autorelease];
|
||||
}
|
||||
|
||||
- (NSArray *) toolbarAllowedItemIdentifiers: (NSToolbar *) toolbar
|
||||
{
|
||||
return [NSArray arrayWithObjects: TOOLBAR_GENERAL, TOOLBAR_TRANSFERS, TOOLBAR_GROUPS, TOOLBAR_BANDWIDTH,
|
||||
TOOLBAR_PEERS, TOOLBAR_NETWORK, TOOLBAR_REMOTE, nil];
|
||||
}
|
||||
|
||||
- (NSArray *) toolbarSelectableItemIdentifiers: (NSToolbar *) toolbar
|
||||
{
|
||||
return [self toolbarDefaultItemIdentifiers: toolbar];
|
||||
return [self toolbarAllowedItemIdentifiers: toolbar];
|
||||
}
|
||||
|
||||
- (NSArray *) toolbarDefaultItemIdentifiers: (NSToolbar *) toolbar
|
||||
|
@ -319,12 +325,6 @@ tr_session * fHandle;
|
|||
return [self toolbarAllowedItemIdentifiers: toolbar];
|
||||
}
|
||||
|
||||
- (NSArray *) toolbarAllowedItemIdentifiers: (NSToolbar *) toolbar
|
||||
{
|
||||
return [NSArray arrayWithObjects: TOOLBAR_GENERAL, TOOLBAR_TRANSFERS, TOOLBAR_GROUPS, TOOLBAR_BANDWIDTH,
|
||||
TOOLBAR_PEERS, TOOLBAR_NETWORK, TOOLBAR_REMOTE, nil];
|
||||
}
|
||||
|
||||
//for a beta release, always use the beta appcast
|
||||
#if defined(TR_BETA_RELEASE)
|
||||
#define SPARKLE_TAG YES
|
||||
|
|
Loading…
Reference in New Issue