[vlmc-devel] RecentProjects: Add a project also when the project is saved
Yikai Lu
git at videolan.org
Tue Aug 23 18:45:08 CEST 2016
vlmc | branch: medialibrary | Yikai Lu <luyikei.qmltu at gmail.com> | Sun Aug 21 18:43:32 2016 -0500| [46e03a6e54d904098f99e2793f2875390717efa8] | committer: Hugo Beauzée-Luyssen
RecentProjects: Add a project also when the project is saved
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> https://code.videolan.org/videolan/vlmc/commit/46e03a6e54d904098f99e2793f2875390717efa8
---
src/Main/Core.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Main/Core.cpp b/src/Main/Core.cpp
index 885b002..86f7a8f 100644
--- a/src/Main/Core.cpp
+++ b/src/Main/Core.cpp
@@ -56,6 +56,7 @@ Core::Core()
QObject::connect( m_currentProject, &Project::projectSaved, m_workflow, &MainWorkflow::setClean );
QObject::connect( m_library, &Library::cleanStateChanged, m_currentProject, &Project::libraryCleanChanged );
QObject::connect( m_currentProject, &Project::projectLoaded, m_recentProjects, &RecentProjects::projectLoaded );
+ QObject::connect( m_currentProject, &Project::projectSaved, m_recentProjects, &RecentProjects::projectLoaded );
QObject::connect( m_currentProject, &Project::projectClosed, m_library, &Library::clear );
QObject::connect( m_currentProject, &Project::projectClosed, m_workflow, &MainWorkflow::clear );
QObject::connect( m_currentProject, &Project::fpsChanged, m_workflow, &MainWorkflow::fpsChanged );
More information about the Vlmc-devel
mailing list