[netinstall] Add some debug-logging

- Also, prepare for a start-expanded setting
This commit is contained in:
Adriaan de Groot 2020-03-09 22:44:16 -05:00
parent 4cf3ec8663
commit 201c5ddfe1
2 changed files with 8 additions and 0 deletions

View File

@ -154,6 +154,13 @@ NetInstallPage::dataIsHere()
ui->groupswidget->header()->setSectionResizeMode( 0, QHeaderView::ResizeToContents );
ui->groupswidget->header()->setSectionResizeMode( 1, QHeaderView::Stretch );
cDebug() << "Groups info rows=" << m_groups->rowCount();
for ( int i = 0; i < m_groups->rowCount(); ++i )
{
auto index = m_groups->index(i,0);
cDebug() << Logger::SubEntry << i << m_groups->data(index, Qt::DisplayRole);
}
emit checkReady( true );
}

View File

@ -36,6 +36,7 @@ public:
QString postScript;
bool isCritical = false;
bool isHidden = false;
bool startExpanded = false; // Only for groups
Qt::CheckState selected = Qt::Unchecked;
/** @brief Turns this item into a variant for PackageOperations use