[vlc-commits] [Git][videolan/vlc][master] qt: reset invalid item loader when parent id changes in MLBaseModel
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Mon Nov 27 11:31:11 UTC 2023
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
3aa2e0cd by Fatih Uzunoglu at 2023-11-27T11:13:13+00:00
qt: reset invalid item loader when parent id changes in MLBaseModel
- - - - -
1 changed file:
- modules/gui/qt/medialibrary/mlbasemodel.cpp
Changes:
=====================================
modules/gui/qt/medialibrary/mlbasemodel.cpp
=====================================
@@ -295,6 +295,7 @@ void MLBaseModel::setParentId(MLItemId parentId)
{
m_parent = parentId;
resetCache();
+ m_itemLoader.reset();
emit parentIdChanged();
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3aa2e0cd30bf3de408574f5feef0d006d2c24bcc
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3aa2e0cd30bf3de408574f5feef0d006d2c24bcc
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list