[vlmc-devel] MainWindow: cosmetics

Hugo Beauzée-Luyssen git at videolan.org
Mon Mar 14 21:31:41 CET 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Mar 14 21:25:57 2016 +0100| [445e4a50ee1c85690536827c55f9c8a153ae0115] | committer: Hugo Beauzée-Luyssen

MainWindow: cosmetics

> https://code.videolan.org/videolan/vlmc/commit/445e4a50ee1c85690536827c55f9c8a153ae0115
---

 src/Gui/MainWindow.cpp | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index e3951fe..16c2f5e 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -342,13 +342,9 @@ void
 MainWindow::on_actionSave_triggered()
 {
     if ( Core::getInstance()->project()->hasProjectFile() == false )
-    {
-      this->on_actionSave_As_triggered();
-    }
+        on_actionSave_As_triggered();
     else
-    {
-         Core::getInstance()->project()->save();
-    } 
+        Core::getInstance()->project()->save();
 }
 
 void



More information about the Vlmc-devel mailing list