Commit 2269cfc9 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ProjectManager: Declare project name as a non empty setting.

parent 34b0d0bc
......@@ -75,9 +75,10 @@ ProjectManager::ProjectManager() : m_projectFile( NULL ), m_needSave( false )
QT_TRANSLATE_NOOP("PreferenceWidget", "Number of audio channels" ),
SettingValue::Flag( SettingValue::Clamped ) );
audioChannel->setLimits( 2, 2 );
VLMC_CREATE_PROJECT_STRING( "general/ProjectName", unNamedProject,
VLMC_CREATE_PROJECT_VAR( SettingValue::String, "general/ProjectName", unNamedProject,
QT_TRANSLATE_NOOP( "PreferenceWidget", "Project name" ),
QT_TRANSLATE_NOOP( "PreferenceWidget", "The project name" ) );
QT_TRANSLATE_NOOP( "PreferenceWidget", "The project name" ),
SettingValue::Flag( SettingValue::NotEmpty ) );
VLMC_CREATE_PRIVATE_PROJECT_STRING( "general/Workspace", "" );
......
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