[vlmc-devel] RecentProjects: Rename variable to match its type

Hugo Beauzée-Luyssen git at videolan.org
Mon Feb 29 01:06:26 CET 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Feb 20 16:55:55 2016 +0100| [2cab8923ca7a3d3cee43396590967f93b464aef2] | committer: Hugo Beauzée-Luyssen

RecentProjects: Rename variable to match its type

> https://code.videolan.org/videolan/vlmc/commit/2cab8923ca7a3d3cee43396590967f93b464aef2
---

 src/Project/RecentProjects.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Project/RecentProjects.cpp b/src/Project/RecentProjects.cpp
index eb2411c..080950d 100644
--- a/src/Project/RecentProjects.cpp
+++ b/src/Project/RecentProjects.cpp
@@ -40,12 +40,12 @@ RecentProjects::RecentProjects( Settings* vlmcSettings, QObject *parent )
 }
 
 void
-RecentProjects::setProject( Project* projectManager )
+RecentProjects::setProject( Project* project )
 {
     if ( m_project != NULL )
         disconnect( m_project, SIGNAL( projectLoaded( QString, QString ) ) );
-    m_project = projectManager;
-    connect( projectManager, SIGNAL( projectLoaded( QString, QString ) ),
+    m_project = project;
+    connect( project, SIGNAL( projectLoaded( QString, QString ) ),
              this, SLOT( projectLoaded( QString, QString ) ) );
 }
 



More information about the Vlmc-devel mailing list