1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

SoundPlayer: Make 'volume_slider' a member variable

This change will allow us to modify the volume slider from any event
inside the widget.
This commit is contained in:
Elyse 2021-10-30 21:49:46 -05:00 committed by Andreas Kling
parent 11a4fa6067
commit ccced92ac2
2 changed files with 7 additions and 6 deletions

View file

@ -73,6 +73,7 @@ private:
RefPtr<GUI::Button> m_next_button;
RefPtr<AutoSlider> m_playback_progress_slider;
RefPtr<GUI::Label> m_volume_label;
RefPtr<GUI::HorizontalSlider> m_volume_slider;
RefPtr<GUI::Label> m_timestamp_label;
bool m_nonlinear_volume_slider;