[vlmc-devel] Media: Remove unused setBaseClip method

Hugo Beauzée-Luyssen git at videolan.org
Fri Aug 19 02:41:36 CEST 2016


vlmc | branch: medialibrary | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Aug 18 23:55:00 2016 +0200| [f9da4634c4826c01bf140f6a6d9ee866e4650be6] | committer: Hugo Beauzée-Luyssen

Media: Remove unused setBaseClip method

> https://code.videolan.org/videolan/vlmc/commit/f9da4634c4826c01bf140f6a6d9ee866e4650be6
---

 src/Media/Media.cpp | 7 -------
 src/Media/Media.h   | 1 -
 2 files changed, 8 deletions(-)

diff --git a/src/Media/Media.cpp b/src/Media/Media.cpp
index 2535964..24029fc 100644
--- a/src/Media/Media.cpp
+++ b/src/Media/Media.cpp
@@ -115,13 +115,6 @@ Media::id() const
     return m_mlMedia->id();
 }
 
-void
-Media::setBaseClip( Clip *clip )
-{
-    Q_ASSERT( m_baseClip == nullptr );
-    m_baseClip = clip;
-}
-
 QVariant
 Media::toVariant() const
 {
diff --git a/src/Media/Media.h b/src/Media/Media.h
index 9ce224e..f22c35d 100644
--- a/src/Media/Media.h
+++ b/src/Media/Media.h
@@ -90,7 +90,6 @@ public:
 
     Clip*                       baseClip() { return m_baseClip; }
     const Clip*                 baseClip() const { return m_baseClip; }
-    void                        setBaseClip( Clip* clip );
 
     QVariant                    toVariant() const;
 



More information about the Vlmc-devel mailing list