[netinstall] Use explicit accessor for the type-of-item
This commit is contained in:
parent
f7191ac29e
commit
0e2b3986b9
@ -103,7 +103,7 @@ PackageTreeItem::row() const
|
|||||||
QVariant
|
QVariant
|
||||||
PackageTreeItem::data( int column ) const
|
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 )
|
switch ( column )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user