[vlmc-devel] Workspace: Simplify
Hugo Beauzée-Luyssen
git at videolan.org
Mon Jul 4 15:34:36 CEST 2016
vlmc | branch: medialibrary | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Jun 5 15:54:28 2016 +0200| [e8ae4876905759319dd30615fb4818525dd66761] | committer: Hugo Beauzée-Luyssen
Workspace: Simplify
> https://code.videolan.org/videolan/vlmc/commit/e8ae4876905759319dd30615fb4818525dd66761
---
src/Project/Workspace.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Project/Workspace.cpp b/src/Project/Workspace.cpp
index 51b96d8..c8e4168 100644
--- a/src/Project/Workspace.cpp
+++ b/src/Project/Workspace.cpp
@@ -43,8 +43,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.
More information about the Vlmc-devel
mailing list