[vlmc-devel] MainWindow: Remove a non-working connection

Yikai Lu git at videolan.org
Mon Dec 12 04:19:58 CET 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sun Dec 11 21:12:38 2016 -0600| [013db921485e649f58ef6cb2c0deda4fff8c6dc6] | committer: Yikai Lu

MainWindow: Remove a non-working connection

> https://code.videolan.org/videolan/vlmc/commit/013db921485e649f58ef6cb2c0deda4fff8c6dc6
---

 src/Gui/MainWindow.cpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index 2c8039d..90ccbc8 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -138,12 +138,6 @@ MainWindow::MainWindow( Backend::IBackend* backend, QWidget *parent )
             m_ui.statusbar->showMessage( "Analyzing media" );
     }, Qt::QueuedConnection );
 
-    //Connecting Library stuff:
-    const ClipRenderer* clipRenderer = qobject_cast<const ClipRenderer*>( m_clipPreview->getAbstractRenderer() );
-    Q_ASSERT( clipRenderer != nullptr );
-    connect( m_mediaLibrary, SIGNAL( clipSelected( Clip* ) ),
-             clipRenderer, SLOT( setClip( Clip* ) ) );
-
 #ifdef WITH_CRASHHANDLER
     if ( restoreSession() == true )
         return ;



More information about the Vlmc-devel mailing list