Commit 2cab8923 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

RecentProjects: Rename variable to match its type

parent 3a3451cc
...@@ -40,12 +40,12 @@ RecentProjects::RecentProjects( Settings* vlmcSettings, QObject *parent ) ...@@ -40,12 +40,12 @@ RecentProjects::RecentProjects( Settings* vlmcSettings, QObject *parent )
} }
void void
RecentProjects::setProject( Project* projectManager ) RecentProjects::setProject( Project* project )
{ {
if ( m_project != NULL ) if ( m_project != NULL )
disconnect( m_project, SIGNAL( projectLoaded( QString, QString ) ) ); disconnect( m_project, SIGNAL( projectLoaded( QString, QString ) ) );
m_project = projectManager; m_project = project;
connect( projectManager, SIGNAL( projectLoaded( QString, QString ) ), connect( project, SIGNAL( projectLoaded( QString, QString ) ),
this, SLOT( projectLoaded( QString, QString ) ) ); this, SLOT( projectLoaded( QString, QString ) ) );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment