[vlmc-devel] commit: ProjectManager: solved SLOT problem. (Hugo Beauzee-Luyssen )
git at videolan.org
git at videolan.org
Thu Mar 25 11:06:56 CET 2010
vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Wed Mar 24 20:16:17 2010 +0100| [935ffd9b2e6d9d2a5783097318e6507e4efc14b7] | committer: Hugo Beauzee-Luyssen
ProjectManager: solved SLOT problem.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=935ffd9b2e6d9d2a5783097318e6507e4efc14b7
---
src/Gui/project/GuiProjectManager.cpp | 4 +++-
src/Project/ProjectManager.cpp | 4 ----
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/Gui/project/GuiProjectManager.cpp b/src/Gui/project/GuiProjectManager.cpp
index 43e0837..473b2d5 100644
--- a/src/Gui/project/GuiProjectManager.cpp
+++ b/src/Gui/project/GuiProjectManager.cpp
@@ -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
diff --git a/src/Project/ProjectManager.cpp b/src/Project/ProjectManager.cpp
index f7e0835..7786a55 100644
--- a/src/Project/ProjectManager.cpp
+++ b/src/Project/ProjectManager.cpp
@@ -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()
More information about the Vlmc-devel
mailing list