[vlc-commits] qt: fix uninitialized member in MLBaseModel
Pierre Lamot
git at videolan.org
Mon Jan 4 12:40:36 UTC 2021
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Thu Dec 17 13:32:48 2020 +0100| [f0fa740d9a4d2f7ef58908108ca38420c2c2acea] | committer: Pierre Lamot
qt: fix uninitialized member in MLBaseModel
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f0fa740d9a4d2f7ef58908108ca38420c2c2acea
---
modules/gui/qt/medialibrary/mlbasemodel.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/medialibrary/mlbasemodel.hpp b/modules/gui/qt/medialibrary/mlbasemodel.hpp
index a0529700d8..faef1c188a 100644
--- a/modules/gui/qt/medialibrary/mlbasemodel.hpp
+++ b/modules/gui/qt/medialibrary/mlbasemodel.hpp
@@ -143,7 +143,7 @@ protected:
MLItemId m_parent;
vlc_medialibrary_t* m_ml;
- MediaLib* m_mediaLib;
+ MediaLib* m_mediaLib = nullptr;
QString m_search_pattern;
vlc_ml_sorting_criteria_t m_sort;
bool m_sort_desc;
More information about the vlc-commits
mailing list