[calamares] reduce compile warnings
This commit is contained in:
parent
3e4b1a7c46
commit
185f46e2c4
@ -40,7 +40,7 @@ Qt::ItemFlags
|
|||||||
ProgressTreeModel::flags( const QModelIndex& index ) const
|
ProgressTreeModel::flags( const QModelIndex& index ) const
|
||||||
{
|
{
|
||||||
if ( !index.isValid() )
|
if ( !index.isValid() )
|
||||||
return 0;
|
return Qt::ItemFlags();
|
||||||
|
|
||||||
return Qt::ItemIsEnabled;
|
return Qt::ItemIsEnabled;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user