removed unused method and fixed log

This commit is contained in:
Diego Waxemberg
2014-12-31 22:42:19 -05:00
parent c96a77f1aa
commit 40d6ab91cf
2 changed files with 1 additions and 14 deletions

View File

@@ -21,7 +21,7 @@
onScreenControls = [[OnScreenControls alloc] initWithView:self];
DataManager* dataMan = [[DataManager alloc] init];
OnScreenControlsLevel level = (OnScreenControlsLevel)[[dataMan retrieveSettings].onscreenControls integerValue];
NSLog(@"Setting on-screen controls level: %ld", level);
NSLog(@"Setting on-screen controls level: %d", (int)level);
[onScreenControls setLevel:level];
}

View File

@@ -302,19 +302,6 @@ static StreamConfiguration* streamConfig;
return appList.count;
}
- (BOOL)validatePcSelected {
if (_selectedHost == NULL) {
UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"No PC Selected"
message:@"You must select a PC to continue."
preferredStyle:UIAlertControllerStyleAlert];
[alert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDestructive handler:nil]];
[self presentViewController:alert animated:YES completion:nil];
return FALSE;
}
return TRUE;
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];