[vlmc-devel] Project: Do not connect components together twice

Hugo Beauzée-Luyssen git at videolan.org
Wed Apr 2 18:55:42 CEST 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Apr  2 00:27:12 2014 +0300| [1c140bb241fec7d8d4848a4d8c5d0274f1255fb4] | committer: Hugo Beauzée-Luyssen

Project: Do not connect components together twice

This is already done from the CTOR

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

 src/Project/Project.cpp |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/Project/Project.cpp b/src/Project/Project.cpp
index 39be94a..94be402 100644
--- a/src/Project/Project.cpp
+++ b/src/Project/Project.cpp
@@ -117,7 +117,6 @@ Project::load( const QString& fileName )
 
     // Now let's start over with a clean state.
     self = getInstance();
-    self->connectComponents();
     Core::getInstance()->onProjectLoaded( self );
     self->loadProject( fileName );
 
@@ -134,7 +133,6 @@ Project::create(const QString& projectName, const QString& projectPath )
     self = Project::getInstance();
     self->newProject( projectName, projectPath );
 
-    self->connectComponents();
     Core::getInstance()->onProjectLoaded( self );
 
     return true;



More information about the Vlmc-devel mailing list