[vlc-devel] [PATCH 4/8] qt: medialib: initialize total count
Romain Vimont
rom1v at videolabs.io
Mon Nov 9 10:58:11 CET 2020
---
modules/gui/qt/medialibrary/mlbasemodel.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gui/qt/medialibrary/mlbasemodel.hpp b/modules/gui/qt/medialibrary/mlbasemodel.hpp
index 50e4f04692..04be2725aa 100644
--- a/modules/gui/qt/medialibrary/mlbasemodel.hpp
+++ b/modules/gui/qt/medialibrary/mlbasemodel.hpp
@@ -136,6 +136,7 @@ public:
MLSlidingWindowModel(QObject* parent = nullptr)
: MLBaseModel(parent)
, m_initialized(false)
+ , m_total_count(0)
{
m_query_param.i_nbResults = BatchSize;
}
--
2.29.2
More information about the vlc-devel
mailing list