[vlc-commits] [Git][videolan/vlc][master] 2 commits: macosx: Fix segment type set in libraryWindow showGroupsLibrary

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Fri Aug 23 04:36:23 UTC 2024



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
1cff822e by Claudio Cambra at 2024-08-23T04:05:06+00:00
macosx: Fix segment type set in libraryWindow showGroupsLibrary

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

- - - - -
e48a4241 by Claudio Cambra at 2024-08-23T04:05:06+00:00
macosx: Remove redundant librarySegmentType internal variable in library window

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

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryWindow.m
=====================================
@@ -92,7 +92,6 @@ const NSUserInterfaceItemIdentifier VLCLibraryWindowIdentifier = @"VLCLibraryWin
 
 @interface VLCLibraryWindow ()
 {
-    NSInteger _librarySegmentType;
     NSInteger _currentSelectedViewModeSegment;
     VLCVideoWindowCommon *_temporaryAudioDecorativeWindow;
 }
@@ -406,7 +405,7 @@ static void addShadow(NSImageView *__unsafe_unretained imageView)
 
 - (void)showGroupsLibrary
 {
-    [self.toolbarDelegate layoutForSegment:self.librarySegmentType];
+    [self.toolbarDelegate layoutForSegment:VLCLibraryGroupsSegment];
     [_libraryGroupsViewController presentGroupsView];
 }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/7bd96dc6eee7cb2486cd3d6b9b140573e11b2c30...e48a42415a237aef92a371bbb95a7c69e8d71111

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/7bd96dc6eee7cb2486cd3d6b9b140573e11b2c30...e48a42415a237aef92a371bbb95a7c69e8d71111
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