Commit 3acf036a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Workspace: Simplify

parent e48cdf73
......@@ -47,8 +47,8 @@ const QString Workspace::workspacePrefix = "workspace://";
Workspace::Workspace(Settings *settings)
: m_copyInProgress( false )
{
settings->createVar( SettingValue::String, "vlmc/Workspace", "", "", "", SettingValue::Private );
SettingValue* workspaceDir = settings->value( "vlmc/Workspace" );
SettingValue* workspaceDir = settings->createVar( SettingValue::String, "vlmc/Workspace", "",
"", "", SettingValue::Private );
connect(workspaceDir, SIGNAL( changed( QVariant ) ),
this, SLOT( workspaceChanged( QVariant ) ) );
// Wait for the SettingValue to be loaded.
......
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