[vlmc-devel] ProjectManager: Save the project file as soon as a new project has been created.

Hugo Beauzée-Luyssen git at videolan.org
Wed Sep 5 17:43:04 CEST 2012


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Sep  5 16:31:03 2012 +0300| [4d123b66916833fd89bca8bb7f65e9c830a8b312] | committer: Hugo Beauzée-Luyssen

ProjectManager: Save the project file as soon as a new project has been created.

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

 src/Gui/project/GuiProjectManager.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gui/project/GuiProjectManager.cpp b/src/Gui/project/GuiProjectManager.cpp
index a195fe8..5223ac3 100644
--- a/src/Gui/project/GuiProjectManager.cpp
+++ b/src/Gui/project/GuiProjectManager.cpp
@@ -183,7 +183,7 @@ GUIProjectManager::newProject( const QString &projectName, const QString &worksp
     m_projectName = projectName;
     //Current project file has already been delete/nulled by ProjectManager::closeProject()
     m_projectFile = new QFile( workspacePath + '/' + "project.vlmc" );
-    emit projectUpdated( this->projectName(), false );
+    saveProject( false );
 }
 
 



More information about the Vlmc-devel mailing list