diff --git a/modules/gui/macosx/library/VLCLibraryWindow.m b/modules/gui/macosx/library/VLCLibraryWindow.m index 770120238d12..613201f5c9d7 100644 --- a/modules/gui/macosx/library/VLCLibraryWindow.m +++ b/modules/gui/macosx/library/VLCLibraryWindow.m @@ -194,10 +194,6 @@ - (void)awakeFromNib - (void)dealloc { [NSNotificationCenter.defaultCenter removeObserver:self]; - if (@available(macOS 10.14, *)) { - [NSApplication.sharedApplication removeObserver:self forKeyPath:@"effectiveAppearance"]; - } - libvlc_int_t *libvlc = vlc_object_instance(getIntf()); var_DelCallback(libvlc, "intf-toggle-fscontrol", ShowFullscreenController, (__bridge void *)self); var_DelCallback(libvlc, "intf-show", ShowController, (__bridge void *)self);