mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibVideo: Rename Status -> State in PlaybackStatusChangeEvent
class
A bit of a bikeshed, but status sounds more like a result of an action, and state sounds more accurate to what the `PlaybackManager` does. The previous and current state fields of the `PlaybackStateChangeEvent` are now removed, since they were unused (for now). This is a lead-up to the refactoring of VideoPlaybackManager to make that diff more legible.
This commit is contained in:
parent
2ff11bac3d
commit
a4c7672802
Notes:
sideshowbarker
2024-07-17 10:31:19 +09:00
Author: https://github.com/Zaggy1024
Commit: a4c7672802
Pull-request: https://github.com/SerenityOS/serenity/pull/17364
3 changed files with 7 additions and 14 deletions
|
@ -57,7 +57,7 @@ void PlaybackManager::set_playback_status(PlaybackStatus status)
|
|||
m_present_timer->stop();
|
||||
}
|
||||
|
||||
m_main_loop.post_event(m_event_handler, make<PlaybackStatusChangeEvent>(status, old_status));
|
||||
m_main_loop.post_event(m_event_handler, make<PlaybackStateChangeEvent>());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue