[vlmc-devel] Workspace: Do not load workspace dir too early

Hugo Beauzée-Luyssen git at videolan.org
Sat Mar 29 01:03:39 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Mar 26 23:24:26 2014 +0200| [c1d3c2520e09658130f7cd21303efa6d806a0e6d] | committer: Hugo Beauzée-Luyssen

Workspace: Do not load workspace dir too early

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

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

diff --git a/src/Project/Workspace.cpp b/src/Project/Workspace.cpp
index 8c38657..e599a60 100644
--- a/src/Project/Workspace.cpp
+++ b/src/Project/Workspace.cpp
@@ -46,7 +46,7 @@ Workspace::Workspace(Settings *settings)
     SettingValue* workspaceDir = settings->value( "vlmc/Workspace" );
     connect(workspaceDir, SIGNAL( changed( QVariant ) ),
             this, SLOT( workspaceChanged( QVariant ) ) );
-    m_workspaceDir = workspaceDir->get().toString();
+    // Wait for the SettingValue to be loaded.
     m_mediasToCopyMutex = new QMutex;
 #ifdef WITH_GUI
     connect( this, SIGNAL( notify( QString ) ),



More information about the Vlmc-devel mailing list