[vlc-commits] [Git][videolan/vlc][master] macosx: Fix crash on placeholder constraint creation for home view placeholder...
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Fri Dec 29 12:13:04 UTC 2023
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
41fca3e9 by Claudio Cambra at 2023-12-29T11:53:32+00:00
macosx: Fix crash on placeholder constraint creation for home view placeholder caused by bad variable binding dictionary
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewController.m
Changes:
=====================================
modules/gui/macosx/library/home-library/VLCLibraryHomeViewController.m
=====================================
@@ -161,7 +161,7 @@
self.emptyLibraryView.translatesAutoresizingMaskIntoConstraints = NO;
self.libraryTargetView.subviews = @[self.emptyLibraryView];
- NSDictionary *dict = NSDictionaryOfVariableBindings(self.emptyLibraryView);
+ NSDictionary * const dict = NSDictionaryOfVariableBindings(_emptyLibraryView);
[self.libraryTargetView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[_emptyLibraryView(>=572.)]|" options:0 metrics:0 views:dict]];
[self.libraryTargetView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[_emptyLibraryView(>=444.)]|" options:0 metrics:0 views:dict]];
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/41fca3e966c3d9ecf979551512a45840ad93c2cb
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/41fca3e966c3d9ecf979551512a45840ad93c2cb
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