[vlmc-devel] ProjectManager: Force a settings save after appending a project to the recent project list.

Hugo Beauzée-Luyssen git at videolan.org
Sat Mar 29 16:19:43 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Mar 29 16:18:32 2014 +0200| [b7f0c9fc63e7bf4b281ba7810041764700f0412e] | committer: Hugo Beauzée-Luyssen

ProjectManager: Force a settings save after appending a project to the recent project list.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=b7f0c9fc63e7bf4b281ba7810041764700f0412e
---

 src/Project/ProjectManager.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Project/ProjectManager.cpp b/src/Project/ProjectManager.cpp
index 08dddc7..3f29808 100644
--- a/src/Project/ProjectManager.cpp
+++ b/src/Project/ProjectManager.cpp
@@ -239,6 +239,7 @@ ProjectManager::appendToRecentProject( const QString& projectName )
         m_recentsProjects.removeLast();
 
     Core::getInstance()->settings()->setValue( SETTINGS_RECENTS, m_recentsProjects );
+    Core::getInstance()->settings()->save();
 }
 
 QString



More information about the Vlmc-devel mailing list