[vlmc-devel] commit: ProjectManager: Avoid false "need save state" positive. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Tue Jun 1 02:20:01 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Jun  1 02:16:07 2010 +0200| [63af3ca58d3651837694bf5223d71ff82fcd7a23] | committer: Hugo Beauzée-Luyssen 

ProjectManager: Avoid false "need save state" positive.

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

 src/Project/ProjectManager.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Project/ProjectManager.cpp b/src/Project/ProjectManager.cpp
index bf05a3d..9f2bbc1 100644
--- a/src/Project/ProjectManager.cpp
+++ b/src/Project/ProjectManager.cpp
@@ -223,6 +223,7 @@ ProjectManager::closeProject()
         delete m_projectFile;
         m_projectFile = NULL;
     }
+    m_needSave = false;
     m_projectName = QString();
     //This one is for every part that need to clean something when the project is closed.
     emit projectClosed();



More information about the Vlmc-devel mailing list