[vlmc-devel] MainWindow: Add the actual connection to Core::projectLoaded

Hugo Beauzée-Luyssen git at videolan.org
Mon Mar 31 22:42:31 CEST 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Mar 31 22:00:43 2014 +0300| [df3cb2787a1e301028f1ebe02557acca00126ef5] | committer: Hugo Beauzée-Luyssen

MainWindow: Add the actual connection to Core::projectLoaded

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

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

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index afe496f..dd39408 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -81,6 +81,8 @@ MainWindow::MainWindow( Backend::IBackend* backend, QWidget *parent )
     m_ui.setupUi( this );
 
     Core::getInstance()->logger()->setup();
+    connect( Core::getInstance(), SIGNAL( projectLoaded( Project* ) ),
+             this, SLOT( onProjectLoaded( Project* ) ) );
     //Preferences
     initVlmcPreferences();
     //All preferences have been created: restore them:



More information about the Vlmc-devel mailing list