[libcalamaresui] Warnings--, don't shadow a parameter

This commit is contained in:
Adriaan de Groot 2020-08-12 00:39:01 +02:00
parent 65273a262b
commit e1e81bb133

View File

@ -166,9 +166,9 @@ ModuleManager::moduleInstance( const ModuleSystem::InstanceKey& instanceKey )
static QString static QString
getConfigFileName( const Settings::InstanceDescriptionList& descriptorList, getConfigFileName( const Settings::InstanceDescriptionList& descriptorList,
const ModuleSystem::InstanceKey& instanceKey, const ModuleSystem::InstanceKey& instanceKey,
const ModuleSystem::Descriptor& descriptor ) const ModuleSystem::Descriptor& thisModule )
{ {
if ( !descriptor.hasConfig() ) if ( !thisModule.hasConfig() )
{ {
// Explicitly set to no-configuration. This doesn't apply // Explicitly set to no-configuration. This doesn't apply
// to custom instances (above) since the only reason to // to custom instances (above) since the only reason to