[vlmc-devel] RecentProjects: Add a project also when the project is saved

Yikai Lu git at videolan.org
Mon Aug 22 22:01:04 CEST 2016


vlmc | branch: medialibrary | Yikai Lu <luyikei.qmltu at gmail.com> | Sun Aug 21 18:43:32 2016 -0500| [7f06c54d17fad047bf5306bb02f92b049774f399] | 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/7f06c54d17fad047bf5306bb02f92b049774f399
---

 src/Main/Core.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Main/Core.cpp b/src/Main/Core.cpp
index 2e058a1..7867f1c 100644
--- a/src/Main/Core.cpp
+++ b/src/Main/Core.cpp
@@ -58,6 +58,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