[vlmc-devel] Core: Create Workspace before Library

Hugo Beauzée-Luyssen git at videolan.org
Mon Jan 2 23:42:17 CET 2017


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jan  2 23:12:07 2017 +0100| [f8dc1abcccba8b931a76fa1f77d847499f3d95f9] | committer: Hugo Beauzée-Luyssen

Core: Create Workspace before Library

So that the Workspace can perform safety checks on the provided path

> https://code.videolan.org/videolan/vlmc/commit/f8dc1abcccba8b931a76fa1f77d847499f3d95f9
---

 src/Main/Core.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Main/Core.cpp b/src/Main/Core.cpp
index 86f7a8f..d53c85c 100644
--- a/src/Main/Core.cpp
+++ b/src/Main/Core.cpp
@@ -47,9 +47,9 @@ Core::Core()
 
     createSettings();
     m_currentProject = new Project( m_settings );
+    m_workspace = new Workspace( m_settings );
     m_library = new Library( m_settings, m_currentProject->settings() );
     m_recentProjects = new RecentProjects( m_settings );
-    m_workspace = new Workspace( m_settings );
     m_workflow = new MainWorkflow( m_currentProject->settings() );
 
     QObject::connect( m_workflow, &MainWorkflow::cleanChanged, m_currentProject, &Project::cleanChanged );



More information about the Vlmc-devel mailing list