[vlc-commits] [Git][videolan/vlc][master] macosx: Remove useless code in resetDefaultSplitForSplitView

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Mon Nov 11 08:19:45 UTC 2024



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
0f56373e by Claudio Cambra at 2024-11-11T07:53:07+00:00
macosx: Remove useless code in resetDefaultSplitForSplitView

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

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryTwoPaneSplitViewDelegate.m
=====================================
@@ -31,8 +31,6 @@
 
 - (void)resetDefaultSplitForSplitView:(NSSplitView *)splitView
 {
-    VLCLibraryWindow * const libraryWindow = VLCMain.sharedInstance.libraryWindow;
-    const CGFloat libraryWindowWidth = libraryWindow.frame.size.width;
     [splitView setPosition:VLCLibraryUIUnits.librarySplitViewSelectionViewDefaultWidth
           ofDividerAtIndex:0];
 }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0f56373e133917fa1833190b9438f9edb092010c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0f56373e133917fa1833190b9438f9edb092010c
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