From 25db1c0cffa0074249c7a516f40875f70fb52c5f Mon Sep 17 00:00:00 2001 From: Colin Cornaby Date: Sun, 17 Mar 2024 21:36:18 -0700 Subject: [PATCH] Fixing delegate conformance Patcher window controller is a second level delegate - but the signature changed on the completed handler. --- .../Apps/plClient/Mac-Cocoa/PLSPatcherWindowController.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSPatcherWindowController.mm b/Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSPatcherWindowController.mm index 6889834fd8..95e6382c2f 100644 --- a/Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSPatcherWindowController.mm +++ b/Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSPatcherWindowController.mm @@ -81,16 +81,17 @@ - (void)patcher:(PLSPatcher*)patcher [NSString stringWithFormat:@"%@/%@", bytesString, totalBytesString]; } -- (void)patcherCompleted:(nonnull PLSPatcher*)patcher +- (void)patcherCompletedWithError:(nonnull PLSPatcher*)patcher error:(nonnull NSError*)error { // intercepted by the application } -- (void)patcherCompletedWithError:(nonnull PLSPatcher*)patcher error:(nonnull NSError*)error +- (void)patcherCompleted:(nonnull PLSPatcher *)patcher didSelfPatch:(BOOL)selfPatched { // intercepted by the application } + - (void)observeValueForKeyPath:(NSString*)keyPath ofObject:(id)object change:(NSDictionary*)change