mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +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
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