Skip to content
Snippets Groups Projects
Commit 2cab8923 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

RecentProjects: Rename variable to match its type

parent 3a3451cc
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) ) );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment