|
|
|
@ -189,7 +189,7 @@ ChoicePage::setupChoices()
|
|
|
|
|
iconSize ) );
|
|
|
|
|
grp->addButton( m_eraseButton->buttonWidget() );
|
|
|
|
|
|
|
|
|
|
m_replaceButton = createReplaceButton();
|
|
|
|
|
m_replaceButton = new PrettyRadioButton;
|
|
|
|
|
|
|
|
|
|
m_replaceButton->setIconSize( iconSize );
|
|
|
|
|
m_replaceButton->setIcon( CalamaresUtils::defaultPixmap( CalamaresUtils::PartitionReplaceOs,
|
|
|
|
@ -355,17 +355,6 @@ ChoicePage::createEraseButton()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExpandableRadioButton*
|
|
|
|
|
ChoicePage::createReplaceButton()
|
|
|
|
|
{
|
|
|
|
|
ExpandableRadioButton* replaceButton = new ExpandableRadioButton;
|
|
|
|
|
replaceButton->setExpandableWidget(
|
|
|
|
|
new QLabel( tr( "Select which OS to replace below." ) ) );
|
|
|
|
|
|
|
|
|
|
return replaceButton;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief ChoicePage::selectedDevice queries the device picker (which may be a combo or
|
|
|
|
|
* a list view) to get a pointer to the currently selected Device.
|
|
|
|
|