[vlmc-devel] commit: ImportController: Removed useless stuff. (Hugo Beauzee-Luyssen )

git at videolan.org git at videolan.org
Wed Mar 10 22:30:24 CET 2010


vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Wed Mar 10 22:29:47 2010 +0100| [af1620ad61c3ce6b3f3a8108578a728bd968e6a8] | committer: Hugo Beauzee-Luyssen 

ImportController: Removed useless stuff.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=af1620ad61c3ce6b3f3a8108578a728bd968e6a8
---

 src/Gui/import/ImportController.cpp |   15 ---------------
 src/Gui/import/ImportController.h   |    4 +---
 2 files changed, 1 insertions(+), 18 deletions(-)

diff --git a/src/Gui/import/ImportController.cpp b/src/Gui/import/ImportController.cpp
index 079e1e2..8176dd3 100644
--- a/src/Gui/import/ImportController.cpp
+++ b/src/Gui/import/ImportController.cpp
@@ -5,7 +5,6 @@
  *
  * Authors: Geoffroy Lacarriere <geoffroylaca at gmail.com>
  *          Thomas Boquet <thomas.boquet at gmail.com>
- *          Clement Chavance <chavance.c at gmail.com>
  *          Hugo Beauzée-Luyssen <hugo at vlmc.org>
  *
  * This program is free software; you can redistribute it and/or
@@ -137,20 +136,6 @@ ImportController::mediaSelection( Clip* clip )
 }
 
 void
-ImportController::clipSelection( const QUuid& uuid )
-{
-    if ( uuid == m_currentUuid )
-        return ;
-    Clip*   clip = m_temporaryMedias->clip( uuid );
-
-    if ( clip == NULL )
-        return ;
-    setUIMetaData( clip );
-    m_preview->stop();
-    emit clipSelected( clip );
-}
-
-void
 ImportController::setUIMetaData( const Clip* clip )
 {
     if ( clip != NULL )
diff --git a/src/Gui/import/ImportController.h b/src/Gui/import/ImportController.h
index 84b7076..1740102 100644
--- a/src/Gui/import/ImportController.h
+++ b/src/Gui/import/ImportController.h
@@ -5,7 +5,7 @@
  *
  * Authors: Geoffroy Lacarriere <geoffroylaca at gmail.com>
  *          Thomas Boquet <thomas.boquet at gmail.com>
- *          Clement Chavance <chavance.c at gmail.com>
+ *          Hugo Beauzée-Luyssen <beauze.h at gmail.com>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -78,7 +78,6 @@ class ImportController : public QDialog
         QFileSystemModel            *m_filesModel;
         QString                     m_currentlyWatchedDir;
         QUuid                       m_currentUuid;
-        QUuid                       m_savedUuid;
         MediaContainer              *m_temporaryMedias;
         quint32                     m_nbMediaToLoad;
         quint32                     m_nbMediaLoaded;
@@ -87,7 +86,6 @@ class ImportController : public QDialog
         void        accept();
         void        reject();
         void        mediaSelection( Clip* clip );
-        void        clipSelection( const QUuid& uuid );
 
     private slots:
         void        forwardButtonClicked();



More information about the Vlmc-devel mailing list