Commit 935ffd9b authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

ProjectManager: solved SLOT problem.

parent 554b026c
......@@ -52,7 +52,9 @@ GUIProjectManager::GUIProjectManager()
SettingsManager::Vlmc,
Qt::QueuedConnection );
automaticSaveEnabledChanged( VLMC_GET_BOOL( "general/AutomaticBackup" ) );
SettingsManager::getInstance()->watchValue( "general/ProjectName", this,
SLOT(projectNameChanged(QVariant) ),
SettingsManager::Project );
}
bool
......
......@@ -87,10 +87,6 @@ ProjectManager::ProjectManager() : m_projectFile( NULL ), m_needSave( false )
VLMC_CREATE_PROJECT_STRING( "general/VLMCWorkspace", QDir::homePath(), "Workspace location", "The place where all project's videos will be stored" );
VLMC_CREATE_PROJECT_STRING( "general/ProjectName", unNamedProject, "Project name", "The project name" );
SettingsManager::getInstance()->watchValue( "general/ProjectName", this,
SLOT(projectNameChanged(QVariant) ),
SettingsManager::Project );
}
ProjectManager::~ProjectManager()
......
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