mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
removed unused method and fixed log
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
onScreenControls = [[OnScreenControls alloc] initWithView:self];
|
onScreenControls = [[OnScreenControls alloc] initWithView:self];
|
||||||
DataManager* dataMan = [[DataManager alloc] init];
|
DataManager* dataMan = [[DataManager alloc] init];
|
||||||
OnScreenControlsLevel level = (OnScreenControlsLevel)[[dataMan retrieveSettings].onscreenControls integerValue];
|
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];
|
[onScreenControls setLevel:level];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -302,19 +302,6 @@ static StreamConfiguration* streamConfig;
|
|||||||
return appList.count;
|
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
|
- (void)didReceiveMemoryWarning
|
||||||
{
|
{
|
||||||
[super didReceiveMemoryWarning];
|
[super didReceiveMemoryWarning];
|
||||||
|
|||||||
Reference in New Issue
Block a user