[vlmc-devel] Core: Workspace needs to be created before the media library

Hugo Beauzée-Luyssen git at videolan.org
Mon Jul 4 15:34:39 CEST 2016


vlmc | branch: medialibrary | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Jun  5 23:40:56 2016 +0200| [71dadf04dc0d984e7dbc4106f47c16c3fa483924] | committer: Hugo Beauzée-Luyssen

Core: Workspace needs to be created before the media library

> https://code.videolan.org/videolan/vlmc/commit/71dadf04dc0d984e7dbc4106f47c16c3fa483924
---

 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 eec3b64..0f5566d 100644
--- a/src/Main/Core.cpp
+++ b/src/Main/Core.cpp
@@ -46,9 +46,9 @@ Core::Core()
     createSettings();
     m_currentProject = new Project( m_settings );
     m_library = new Library( m_currentProject->settings() );
-    m_ml.reset( new MediaLibrary( m_settings ) );
     m_recentProjects = new RecentProjects( m_settings );
     m_workspace = new Workspace( m_settings );
+    m_ml.reset( new MediaLibrary( m_settings ) );
     m_workflow = new MainWorkflow( m_currentProject->settings() );
     m_undoStack = new Commands::AbstractUndoStack;
 



More information about the Vlmc-devel mailing list