[vlmc-devel] ProjectManager: Workspace is a project setting (so far...)
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:52:10 2014 +0200| [37adff8b9a3311a2b81aaeed52e04a9f18b59342] | committer: Hugo Beauzée-Luyssen
ProjectManager: Workspace is a project setting (so far...)
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=37adff8b9a3311a2b81aaeed52e04a9f18b59342
---
src/Project/ProjectManager.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Project/ProjectManager.cpp b/src/Project/ProjectManager.cpp
index fbb0c37..0cc0748 100644
--- a/src/Project/ProjectManager.cpp
+++ b/src/Project/ProjectManager.cpp
@@ -267,7 +267,8 @@ ProjectManager::saveAs()
{
if ( m_projectManagerUi == NULL )
return ;
- const QString& fileName = m_projectManagerUi->getProjectFile( VLMC_GET_STRING( "vlmc/Workspace" ), false );
+ const QString& fileName = m_projectManagerUi->getProjectFile(
+ m_projectSettings->value( "vlmc/Workspace" )->get().toString(), false );
if ( fileName.isEmpty() )
return ;
saveProject( fileName );
More information about the Vlmc-devel
mailing list