[vlc-commits] macosx: fix runtime warning

Felix Paul Kühne git at videolan.org
Mon Oct 21 09:16:21 CEST 2019


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Thu Oct 17 20:44:44 2019 +0200| [cb868c9a2d1c9290997e85c4f538e6e219e5626e] | committer: Felix Paul Kühne

macosx: fix runtime warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cb868c9a2d1c9290997e85c4f538e6e219e5626e
---

 modules/gui/macosx/library/VLCLibraryController.m | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/gui/macosx/library/VLCLibraryController.m b/modules/gui/macosx/library/VLCLibraryController.m
index 5b1c72c6a2..a0e955019b 100644
--- a/modules/gui/macosx/library/VLCLibraryController.m
+++ b/modules/gui/macosx/library/VLCLibraryController.m
@@ -55,10 +55,6 @@ float kVLCDefaultThumbnailPosition = .15;
         _unsorted = YES;
 
         NSNotificationCenter *defaultNotificationCenter = [NSNotificationCenter defaultCenter];
-        [defaultNotificationCenter addObserver:self
-                                      selector:@selector(applicationWillBecomeActive:)
-                                          name:NSApplicationDidFinishLaunchingNotification
-                                        object:nil];
         [defaultNotificationCenter addObserver:self
                                       selector:@selector(playbackStateChanged:)
                                           name:VLCPlayerStateChanged



More information about the vlc-commits mailing list