[netinstall] Use explicit accessor for the type-of-item

This commit is contained in:
Adriaan de Groot 2020-03-23 10:46:10 +01:00
parent f7191ac29e
commit 0e2b3986b9

View File

@ -103,7 +103,7 @@ PackageTreeItem::row() const
QVariant
PackageTreeItem::data( int column ) const
{
if ( !packageName().isEmpty() ) // packages have a packagename, groups don't
if ( isPackage() ) // packages have a packagename, groups don't
{
switch ( column )
{