Fix code_style.sh to include *.mm files after switch to Obj-C++ (#2846)

This commit is contained in:
Mike Gelfand
2022-03-31 00:52:23 +03:00
committed by GitHub
parent e4461c48d7
commit d943f069f5
32 changed files with 243 additions and 241 deletions

View File

@@ -146,8 +146,8 @@
}
[self.fPriorityPopUp selectItemAtIndex:priorityIndex];
self.fStartCheck.state = [NSUserDefaults.standardUserDefaults boolForKey:@"AutoStartDownload"] ? NSControlStateValueOn
: NSControlStateValueOff;
self.fStartCheck.state = [NSUserDefaults.standardUserDefaults boolForKey:@"AutoStartDownload"] ? NSControlStateValueOn :
NSControlStateValueOff;
self.fDeleteCheck.state = self.fDeleteTorrentEnableInitially ? NSControlStateValueOn : NSControlStateValueOff;
self.fDeleteCheck.enabled = self.fCanToggleDelete;
@@ -163,8 +163,9 @@
self.fLocationImageView.image = nil;
}
self.fTimer = [NSTimer scheduledTimerWithTimeInterval:UPDATE_SECONDS target:self selector:@selector(updateFiles) userInfo:nil
repeats:YES];
self.fTimer = [NSTimer scheduledTimerWithTimeInterval:UPDATE_SECONDS target:self selector:@selector(updateFiles)
userInfo:nil
repeats:YES];
[self updateFiles];
}