[vlmc-devel] save project without project file while quitting

Sanket Markan git at videolan.org
Mon Mar 14 21:31:42 CET 2016


vlmc | branch: master | Sanket Markan <sanketmarkan at gmail.com> | Mon Mar 14 09:19:23 2016 +0530| [ab1830a86348388c09074e90f6cfe62a71d76655] | committer: Hugo Beauzée-Luyssen

save project without project file while quitting

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> https://code.videolan.org/videolan/vlmc/commit/ab1830a86348388c09074e90f6cfe62a71d76655
---

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

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index 16c2f5e..597c3a2 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -791,7 +791,7 @@ MainWindow::closeEvent( QCloseEvent* e )
         switch ( ret )
         {
         case QMessageBox::Save:
-            Core::getInstance()->project()->save();
+            on_actionSave_triggered();
             break;
         case QMessageBox::Discard:
             break;



More information about the Vlmc-devel mailing list