[vlmc-devel] [PATCH] Fix projects being never saved.
Yikai Lu
luyikei.qmltu at gmail.com
Mon Mar 7 06:51:54 CET 2016
I actually don't know why we need to create project folders.
So this fix might not be disrable, please give me some opinions about project paths.
---
src/Gui/wizard/ProjectWizard.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/Gui/wizard/ProjectWizard.cpp b/src/Gui/wizard/ProjectWizard.cpp
index 79b436f..a314ec8 100644
--- a/src/Gui/wizard/ProjectWizard.cpp
+++ b/src/Gui/wizard/ProjectWizard.cpp
@@ -99,7 +99,11 @@ ProjectWizard::accept()
//If he was creating a project, the current page will be the video/audio settings one.
if ( currentId() == Page_Video )
{
- Core::getInstance()->newProject( field( "projectName" ).toString(), field( "projectPath" ).toString() );
+ Core::getInstance()->newProject( field( "projectName" ).toString(),
+ QString("%1/%2")
+ .arg( field( "projectPath" ).toString() )
+ .arg( field( "projectName" ).toString() )
+ );
Settings* projectPreferences = Core::getInstance()->project()->settings();
projectPreferences->setValue( "video/VLMCOutputFPS", field( "fps" ) );
--
1.9.1
More information about the Vlmc-devel
mailing list