Fix QVariant type check (fix Coverity defect 114155).
This commit is contained in:
parent
b2f1e08377
commit
ff9cf0880a
@ -114,7 +114,7 @@ LicenseViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
||||
{
|
||||
foreach ( const QVariant& entryV, configurationMap.value( "entries" ).toList() )
|
||||
{
|
||||
if ( !entryV.type() == QVariant::Map )
|
||||
if ( entryV.type() != QVariant::Map )
|
||||
continue;
|
||||
|
||||
QVariantMap entryMap = entryV.toMap();
|
||||
|
Loading…
Reference in New Issue
Block a user