From: Claudio Cambra Date: Wed, 28 Dec 2022 21:50:21 +0000 (+0100) Subject: Correctly init LineProcessor in macosx shell integration X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~41^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=521a026e03d059f28bcf52ce80464ad3a04a9b15;p=nextcloud-desktop.git Correctly init LineProcessor in macosx shell integration Signed-off-by: Claudio Cambra --- diff --git a/shell_integration/MacOSX/OwnCloudFinderSync/FinderSyncExt/LineProcessor.m b/shell_integration/MacOSX/OwnCloudFinderSync/FinderSyncExt/LineProcessor.m index f67642e7c..56ec7046a 100644 --- a/shell_integration/MacOSX/OwnCloudFinderSync/FinderSyncExt/LineProcessor.m +++ b/shell_integration/MacOSX/OwnCloudFinderSync/FinderSyncExt/LineProcessor.m @@ -20,7 +20,10 @@ -(instancetype)initWithDelegate:(id)delegate { NSLog(@"Init line processor with delegate."); - self.delegate = delegate; + self = [super init]; + if (self) { + self.delegate = delegate; + } return self; }