diff --git a/Limelight/Input/StreamView.m b/Limelight/Input/StreamView.m index a34ff0b..8069a95 100644 --- a/Limelight/Input/StreamView.m +++ b/Limelight/Input/StreamView.m @@ -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]; } diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 0d6503e..72e0b37 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -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];