qt/MLVideoModel: don't reset model on media update event
Compare changes
- Prince Gupta authored
@@ -18,6 +18,11 @@
@@ -147,10 +152,43 @@ void MLVideoModel::onVlcMlEvent(const MLEvent &event)
when you're browsing medialibrary (video view) and stop a playing video, it causes the video view to be reset this MR fixes it
only update changed item instead of resetting whole model
also only reset model if added item is a video
VideoLAN code repository instance