[vlmc-devel] MainWindow: Connect to Project::cleanStateChanged

Hugo Beauzée-Luyssen git at videolan.org
Sat Apr 9 22:18:18 CEST 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Apr  9 16:40:28 2016 +0200| [8b2617dbe86a47f7a6ac5e8e374c34797de944ed] | committer: Hugo Beauzée-Luyssen

MainWindow: Connect to Project::cleanStateChanged

> https://code.videolan.org/videolan/vlmc/commit/8b2617dbe86a47f7a6ac5e8e374c34797de944ed
---

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

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index 5a34014..120faa8 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -114,6 +114,8 @@ MainWindow::MainWindow( Backend::IBackend* backend, QWidget *parent )
              this, SLOT( onBackupFileLoaded() ) );
     connect( Core::instance()->project(), SIGNAL( projectSaved() ),
              this, SLOT( onProjectSaved() ) );
+    connect( Core::instance()->project(), &Project::cleanStateChanged,
+             this, &MainWindow::cleanStateChanged );
 
 
     //Connecting Library stuff:



More information about the Vlmc-devel mailing list