[vlc-commits] qt: medialib: initialize total count

Romain Vimont git at videolan.org
Thu Nov 12 15:48:04 CET 2020


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Mon Nov  9 10:58:11 2020 +0100| [06adc058e3cebc35d687fb54a4674547d5ee5108] | committer: Alexandre Janniaux

qt: medialib: initialize total count

Signed-off-by: Alexandre Janniaux <ajanni at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=06adc058e3cebc35d687fb54a4674547d5ee5108
---

 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;
     }



More information about the vlc-commits mailing list