Use key().module() instead of key().first
This commit is contained in:
parent
be513813e6
commit
f7d8384bff
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user