[vlmc-devel] Project: SaveAs: emit projectSaved instead of updated.

Hugo Beauzée-Luyssen git at videolan.org
Fri Mar 4 17:14:24 CET 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Mar  4 17:12:21 2016 +0100| [67d5cface496cd13bc070ea9bb1bd056804c6943] | committer: Hugo Beauzée-Luyssen

Project: SaveAs: emit projectSaved instead of updated.

The project itself isn't changed by the fact that its filename changed

> https://code.videolan.org/videolan/vlmc/commit/67d5cface496cd13bc070ea9bb1bd056804c6943
---

 src/Project/Project.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Project/Project.cpp b/src/Project/Project.cpp
index b631711..d819eed 100644
--- a/src/Project/Project.cpp
+++ b/src/Project/Project.cpp
@@ -145,7 +145,7 @@ Project::saveAs( const QString& fileName )
     delete m_projectFile;
     m_projectFile = new QFile( fileName );
     saveProject( fileName );
-    emit projectUpdated( name() );
+    emit projectSaved();
 }
 
 void



More information about the Vlmc-devel mailing list