[netinstall] Apply coding style

This commit is contained in:
Adriaan de Groot 2020-03-23 14:10:48 +01:00
parent 0aaf24c4a5
commit 8825c9c995
2 changed files with 4 additions and 4 deletions

View File

@ -157,10 +157,10 @@ NetInstallPage::dataIsHere()
// Go backwards because expanding a group may cause rows to appear below it // Go backwards because expanding a group may cause rows to appear below it
for ( int i = m_groups->rowCount() - 1; i >= 0; --i ) for ( int i = m_groups->rowCount() - 1; i >= 0; --i )
{ {
auto index = m_groups->index(i,0); auto index = m_groups->index( i, 0 );
if ( m_groups->data(index, PackageModel::MetaExpandRole).toBool() ) if ( m_groups->data( index, PackageModel::MetaExpandRole ).toBool() )
{ {
ui->groupswidget->setExpanded(index, true); ui->groupswidget->setExpanded( index, true );
} }
} }

View File

@ -56,7 +56,7 @@ NetInstallViewStep::prettyName() const
{ {
return m_sidebarLabel ? m_sidebarLabel->get() : tr( "Package selection" ); return m_sidebarLabel ? m_sidebarLabel->get() : tr( "Package selection" );
#if defined(TABLE_OF_TRANSLATIONS) #if defined( TABLE_OF_TRANSLATIONS )
NOTREACHED NOTREACHED
// This is a table of "standard" labels for this module. If you use them // This is a table of "standard" labels for this module. If you use them
// in the label: sidebar: section of the config file, the existing // in the label: sidebar: section of the config file, the existing