[netinstall] Support selecting visible groups by default.

In other words, support:
  hidden: false
  selected: true
groups.

This was supposed to work according to README.md, but not actually
implemented. Now it should be working.
This commit is contained in:
Kevin Kofler 2016-11-02 05:58:00 +01:00
parent c09e7030db
commit 075577d948
3 changed files with 4 additions and 3 deletions

View file

@ -111,7 +111,7 @@ NetInstallPage::dataIsHere( QNetworkReply* reply )
continue;
}
GroupSelectionWidget* groupWidget = new GroupSelectionWidget( group.name, group.description, group.packages, this );
GroupSelectionWidget* groupWidget = new GroupSelectionWidget( group.name, group.description, group.packages, group.selected, this );
m_groupWidgets.insert( groupKey, groupWidget );
ui->groupswidget->layout()->addWidget( groupWidget );