[vlc-commits] [Git][videolan/vlc][master] macosx: Also account for super class splitView:canCollapseSubview:

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Apr 28 07:34:53 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
0626b7cd by Claudio Cambra at 2025-04-28T07:13:22+00:00
macosx: Also account for super class splitView:canCollapseSubview:

This fixes a warning during build

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


1 changed file:

- modules/gui/macosx/library/VLCLibraryWindowSplitViewController.m


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryWindowSplitViewController.m
=====================================
@@ -130,7 +130,9 @@
 
 - (BOOL)splitView:(NSSplitView *)splitView canCollapseSubview:(NSView *)subview
 {
-    return subview != self.navSidebarViewController.view || !self.mainVideoModeEnabled;
+    return subview != self.navSidebarViewController.view
+           || !self.mainVideoModeEnabled
+           || [super splitView:splitView canCollapseSubview:subview];
 }
 
 @end



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0626b7cdc0ddae673595ef6c1a72a53377023e29

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0626b7cdc0ddae673595ef6c1a72a53377023e29
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list