[vlc-devel] [PATCH 1/3] qt: fix uninitialized member in MLBaseModel
Pierre Lamot
pierre at videolabs.io
Thu Dec 17 12:32:48 UTC 2020
---
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;
--
2.25.1
More information about the vlc-devel
mailing list