mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04: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
Add a link
Reference in a new issue