[vlmc-devel] Library: Fix cleanState signal connection

Hugo Beauzée-Luyssen git at videolan.org
Sat Mar 29 16:19:41 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Mar 29 15:38:33 2014 +0200| [2e70b0aab484c6ced8fa4485d90e39fc0d7eee15] | committer: Hugo Beauzée-Luyssen

Library: Fix cleanState signal connection

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

 src/Library/Library.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Library/Library.cpp b/src/Library/Library.cpp
index 879fd58..26c7516 100644
--- a/src/Library/Library.cpp
+++ b/src/Library/Library.cpp
@@ -46,8 +46,8 @@ Library::Library( Workspace *workspace , ProjectManager *projectManager )
 {
     connect( projectManager, SIGNAL( projectClosed() ),
              this, SLOT( clear() ) );
-    connect( projectManager, SIGNAL( cleanStateChanged( bool ) ),
-             this, SLOT( cleanChanged( bool ) ) );
+    connect( this, SIGNAL( cleanStateChanged( bool ) ),
+             projectManager, SLOT( cleanChanged( bool ) ) );
 }
 
 void



More information about the Vlmc-devel mailing list