[vlc-devel] [PATCH 02/13] qt: medialib: remove unused get()

Romain Vimont rom1v at videolabs.io
Mon Nov 23 17:30:16 CET 2020


---
 modules/gui/qt/medialibrary/mlbasemodel.hpp | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/modules/gui/qt/medialibrary/mlbasemodel.hpp b/modules/gui/qt/medialibrary/mlbasemodel.hpp
index bac19005ed..10ce9b71ec 100644
--- a/modules/gui/qt/medialibrary/mlbasemodel.hpp
+++ b/modules/gui/qt/medialibrary/mlbasemodel.hpp
@@ -155,14 +155,6 @@ public:
         return m_total_count;
     }
 
-    virtual T* get(int idx) const
-    {
-        T* obj = item( idx );
-        if (!obj)
-            return nullptr;
-        return obj->clone();
-    }
-
     void clear() override
     {
         m_query_param.i_offset = 0;
-- 
2.29.2



More information about the vlc-devel mailing list