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

ProjectManager: Removed never used signal.

parent 72c8a277
......@@ -88,14 +88,20 @@ QStringList ProjectManager::recentsProjects() const
void ProjectManager::loadWorkflow()
{
QDomElement root = m_domDocument->documentElement();
bool needSave;
MainWorkflow::getInstance()->loadProject( root );
loadTimeline( root );
SettingsManager::getInstance()->load( root );
emit projectUpdated( projectName(), true );
emit projectLoaded();
if ( m_projectFile != NULL )
{
appendToRecentProject( m_projectFile->fileName() );
needSave = false;
}
else
needSave = true;
emit projectUpdated( projectName(), needSave );
delete m_domDocument;
}
......@@ -126,6 +132,7 @@ void ProjectManager::loadProject( const QString& fileName )
//saves its project, vlmc will ask him where to save it.
delete m_projectFile;
m_projectFile = NULL;
m_needSave = true;
}
QDomElement root = m_domDocument->documentElement();
......
......@@ -114,7 +114,6 @@ signals:
*/
void projectSaved();
void projectClosed();
void projectLoaded();
};
#endif // PROJECTMANAGER_H
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