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

Project: Do not connect components together twice

This is already done from the CTOR
parent 209d28a1
...@@ -117,7 +117,6 @@ Project::load( const QString& fileName ) ...@@ -117,7 +117,6 @@ Project::load( const QString& fileName )
// Now let's start over with a clean state. // Now let's start over with a clean state.
self = getInstance(); self = getInstance();
self->connectComponents();
Core::getInstance()->onProjectLoaded( self ); Core::getInstance()->onProjectLoaded( self );
self->loadProject( fileName ); self->loadProject( fileName );
...@@ -134,7 +133,6 @@ Project::create(const QString& projectName, const QString& projectPath ) ...@@ -134,7 +133,6 @@ Project::create(const QString& projectName, const QString& projectPath )
self = Project::getInstance(); self = Project::getInstance();
self->newProject( projectName, projectPath ); self->newProject( projectName, projectPath );
self->connectComponents();
Core::getInstance()->onProjectLoaded( self ); Core::getInstance()->onProjectLoaded( self );
return true; return true;
......
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