[vlmc-devel] Project: Create settings before loading them

Hugo Beauzée-Luyssen git at videolan.org
Tue Apr 1 23:16:24 CEST 2014


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

Project: Create settings before loading them

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

 src/Gui/timeline/Timeline.cpp |    2 +-
 src/Project/Project.cpp       |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Gui/timeline/Timeline.cpp b/src/Gui/timeline/Timeline.cpp
index dfc728f..dca95a0 100644
--- a/src/Gui/timeline/Timeline.cpp
+++ b/src/Gui/timeline/Timeline.cpp
@@ -215,7 +215,7 @@ Timeline::save( QXmlStreamWriter &project )
 }
 
 bool
-Timeline::load(const QDomDocument& root )
+Timeline::load( const QDomDocument& root )
 {
     QDomElement     project = root.firstChildElement( "timeline" );
     if ( project.isNull() == true )
diff --git a/src/Project/Project.cpp b/src/Project/Project.cpp
index b5333c2..4c85a46 100644
--- a/src/Project/Project.cpp
+++ b/src/Project/Project.cpp
@@ -56,6 +56,7 @@ Project::Project()
     m_workflow = new MainWorkflow;
     m_library = new Library( Core::getInstance()->workspace() );
     m_workflowRenderer = new WorkflowRenderer( Backend::getBackend(), m_workflow );
+    initSettings();
     connectComponents();
 }
 



More information about the Vlmc-devel mailing list