Use key().module() instead of key().first

This commit is contained in:
dalto 2021-10-28 14:49:44 -05:00
parent be513813e6
commit f7d8384bff

View File

@ -275,7 +275,7 @@ Settings::isModuleEnabled( const QString& module )
// Iterate over the list of modules searching for a match // Iterate over the list of modules searching for a match
for ( const auto& moduleInstance : qAsConst( m_moduleInstances ) ) for ( const auto& moduleInstance : qAsConst( m_moduleInstances ) )
{ {
if ( moduleInstance.key().first == module ) if ( moduleInstance.key().module() == module )
{ {
return true; return true;
} }