[vlc-commits] qt: medialib: remove unused get()

Romain Vimont git at videolan.org
Wed Dec 2 17:32:15 UTC 2020


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Fri Oct 23 16:37:53 2020 +0200| [76cf7825c0094c16c23e4aa1f74bf8cb76fd8f6e] | committer: Pierre Lamot

qt: medialib: remove unused get()

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

 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;



More information about the vlc-commits mailing list