Skip to content
Snippets Groups Projects
Commit ecca9675 authored by Marvin Scholz's avatar Marvin Scholz
Browse files

macosx: Save/share time remaining state in fullscreen controller

There was no identifier set for the time remaining label in the
fullscreen controller, this sets one to ensure the state is saved
correctly. Additionally this is the same identifier as the one in
the main window label, so make sure the state is shared between those.

Fix #19813
parent a336a528
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,12 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
[_volumeSlider setMaxValue:[[VLCCoreInteraction sharedInstance] maxVolume]];
[_volumeSlider setIntValue:AOUT_VOLUME_DEFAULT];
[_volumeSlider setDefaultValue:AOUT_VOLUME_DEFAULT];
/* Identifier to store the state of the remaining or total time label,
* this is the same identifier as used for the window playback cotrols
* so the state is shared between those.
*/
[_remainingOrTotalTime setRemainingIdentifier:@"DisplayTimeAsTimeRemaining"];
}
#undef setupButton
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment