mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
Fix QVariant type check (fix Coverity defect 114155).
This commit is contained in:
parent
b2f1e08377
commit
ff9cf0880a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue