[[navigation tabBarItem] setBadgeValue:(Queuing_ ? UCLocalize("Q_D") : nil)];
}
-- (void) _refreshIfPossible {
+- (void) _refreshIfPossible:(NSDate *)update {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
bool recently = false;
- NSDate *update([Metadata_ objectForKey:@"LastUpdate"]);
if (update != nil) {
NSTimeInterval interval([update timeIntervalSinceNow]);
if (interval <= 0 && interval > -(15*60))
}
- (void) refreshIfPossible {
- [NSThread detachNewThreadSelector:@selector(_refreshIfPossible) toTarget:self withObject:nil];
+ [NSThread detachNewThreadSelector:@selector(_refreshIfPossible:) toTarget:self withObject:[Metadata_ objectForKey:@"LastUpdate"]];
}
- (void) _reloadDataWithInvocation:(NSInvocation *)invocation {