diff options
author | Damiano Galassi <[email protected]> | 2021-03-04 09:29:13 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2021-03-04 09:29:13 +0100 |
commit | 6cf536eaad7d4e21dd8f0f8c15c4ec8de53d1168 (patch) | |
tree | 760379d733b4af8055d9dc8461f96b8dd9efd51d /macosx | |
parent | a29c438538766c6b9b3e03d81abc663a6b9fa857 (diff) |
MacGui: properly set automaticallyPreventSleep in the xpc services.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBRemoteCore.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/macosx/HBRemoteCore.m b/macosx/HBRemoteCore.m index 432eef871..c7c6e4279 100644 --- a/macosx/HBRemoteCore.m +++ b/macosx/HBRemoteCore.m @@ -86,6 +86,7 @@ [_proxy setDVDNav:[NSUserDefaults.standardUserDefaults boolForKey:HBUseDvdNav]]; [_proxy setUpWithLogLevel:self.level name:self.name]; + [_proxy setAutomaticallyPreventSleep:self.automaticallyPreventSleep]; } - (void)invalidate @@ -100,6 +101,7 @@ { [_proxy setDVDNav:[NSUserDefaults.standardUserDefaults boolForKey:HBUseDvdNav]]; [_proxy setUpWithLogLevel:self.level name:self.name]; + [_proxy setAutomaticallyPreventSleep:self.automaticallyPreventSleep]; HBCoreCompletionHandler handler = self.completionHandler; @@ -130,6 +132,7 @@ - (void)setAutomaticallyPreventSleep:(BOOL)automaticallyPreventSleep { + _automaticallyPreventSleep = automaticallyPreventSleep; [_proxy setAutomaticallyPreventSleep:automaticallyPreventSleep]; } |