Commit 28c05f8a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ProjectManager: Add a project dir variable.

Correcting VLMCWorkspace variable type: this one belong to the
preferences, not the project.
parent e12c2e97
......@@ -57,14 +57,16 @@ ProjectManager::ProjectManager() : m_projectFile( NULL ), m_needSave( false )
VLMC_CREATE_PROJECT_INT( "audio/AudioSampleRate", 0,
QT_TRANSLATE_NOOP( "PreferenceWidget", "Audio samplerate" ),
QT_TRANSLATE_NOOP( "PreferenceWidget", "Output project audio samplerate" ) );
VLMC_CREATE_PROJECT_STRING( "general/VLMCWorkspace", QDir::homePath(),
VLMC_CREATE_PREFERENCE_STRING( "general/VLMCWorkspace", QDir::homePath(),
QT_TRANSLATE_NOOP( "PreferenceWidget", "Workspace location" ),
QT_TRANSLATE_NOOP( "PreferenceWidget", "The place where all project's videos will be stored" ) );
QT_TRANSLATE_NOOP( "PreferenceWidget", "The place where all project's medias will be stored" ) );
VLMC_CREATE_PROJECT_STRING( "general/ProjectName", unNamedProject,
QT_TRANSLATE_NOOP( "PreferenceWidget", "Project name" ),
QT_TRANSLATE_NOOP( "PreferenceWidget", "The project name" ) );
//We have to wait for the library to be loaded before loading the workflow
connect( Library::getInstance(), SIGNAL( projectLoaded() ), this, SLOT( loadWorkflow() ) );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment