[vlmc-devel] ProjectManager: Update projectName when creating a new project
Hugo Beauzée-Luyssen
git at videolan.org
Sat Mar 29 16:19:42 CET 2014
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Mar 29 15:57:10 2014 +0200| [0ee50d3946a0e0e66578c02a014c831914a421aa] | committer: Hugo Beauzée-Luyssen
ProjectManager: Update projectName when creating a new project
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=0ee50d3946a0e0e66578c02a014c831914a421aa
---
src/Project/ProjectManager.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Project/ProjectManager.cpp b/src/Project/ProjectManager.cpp
index a94b6e6..08dddc7 100644
--- a/src/Project/ProjectManager.cpp
+++ b/src/Project/ProjectManager.cpp
@@ -347,6 +347,7 @@ ProjectManager::newProject( const QString &projectName, const QString &workspace
if ( closeProject() == false )
return ;
m_projectName = projectName;
+ emit projectNameChanged( projectName );
//Current project file has already been delete/nulled by ProjectManager::closeProject()
m_projectFile = new QFile( workspacePath + '/' + "project.vlmc" );
save();
More information about the Vlmc-devel
mailing list