Commit c276a08c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ImportController: Fixing broken conception.

parent bbba8ad3
......@@ -133,7 +133,7 @@ ImportController::clipSelection( Clip* clip )
if ( m_currentUuid == uuid )
return ;
m_ui->metadataContainer->setWatchedClip( clip );
m_ui->previewContainer->stop();
m_clipRenderer->stop();
m_currentUuid = uuid;
m_tag->clipSelected( clip );
emit clipSelected( clip );
......@@ -208,7 +208,7 @@ ImportController::treeViewDoubleClicked( const QModelIndex& index )
void
ImportController::reject()
{
m_ui->previewContainer->stop();
m_clipRenderer->stop();
m_mediaListView->clear();
m_temporaryMedias->clear();
collapseAllButCurrentPath();
......@@ -220,7 +220,7 @@ void
ImportController::accept()
{
m_mediaListView->clear();
m_ui->previewContainer->stop();
m_clipRenderer->stop();
collapseAllButCurrentPath();
foreach ( Clip* clip, m_temporaryMedias->clips().values() )
Library::getInstance()->addClip( clip );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment