[packagechooser] Coding style

main
Adriaan de Groot 6 years ago
parent cefb66ab5b
commit d21ed0cc7f

@ -53,7 +53,6 @@ PackageChooserPage::PackageChooserPage( PackageChooserMode mode, QWidget* parent
} }
ui->products->setMinimumWidth( 10 * CalamaresUtils::defaultFontHeight() ); ui->products->setMinimumWidth( 10 * CalamaresUtils::defaultFontHeight() );
} }
/** @brief size the given @p pixmap to @p size /** @brief size the given @p pixmap to @p size

@ -148,8 +148,10 @@ void
PackageChooserViewStep::onActivate() PackageChooserViewStep::onActivate()
{ {
if ( !m_widget->hasSelection() ) if ( !m_widget->hasSelection() )
{
m_widget->setSelection( m_defaultIdx ); m_widget->setSelection( m_defaultIdx );
} }
}
void void
PackageChooserViewStep::onLeave() PackageChooserViewStep::onLeave()

Loading…
Cancel
Save