[partition] Drop label on swap-options box
This commit is contained in:
parent
a791818a65
commit
dc492b301c
@ -228,7 +228,7 @@ ChoicePage::setupChoices()
|
||||
m_eraseButton->setIcon( CalamaresUtils::defaultPixmap( CalamaresUtils::PartitionEraseAuto,
|
||||
CalamaresUtils::Original,
|
||||
iconSize ) );
|
||||
m_eraseButton->addOptionsComboBox( tr( "Swap" ), swapSelectionCombo() );
|
||||
m_eraseButton->addOptionsComboBox( swapSelectionCombo() );
|
||||
m_grp->addButton( m_eraseButton->buttonWidget(), Erase );
|
||||
|
||||
m_replaceButton = new PrettyRadioButton;
|
||||
|
@ -83,9 +83,8 @@ PrettyRadioButton::buttonWidget() const
|
||||
}
|
||||
|
||||
void
|
||||
PrettyRadioButton::addOptionsComboBox( const QString& label, QComboBox* box )
|
||||
PrettyRadioButton::addOptionsComboBox( QComboBox* box )
|
||||
{
|
||||
int row = m_mainLayout->rowCount(); // Rows index from 0, count from 1
|
||||
m_mainLayout->addWidget( new QLabel( label ), row, 1 );
|
||||
m_mainLayout->addWidget( box, row, 2 );
|
||||
m_mainLayout->addWidget( box, row, 1 );
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
virtual QRadioButton* buttonWidget() const;
|
||||
|
||||
/** @brief Add an options drop-down to this button. */
|
||||
void addOptionsComboBox( const QString& label, QComboBox* );
|
||||
void addOptionsComboBox( QComboBox* );
|
||||
|
||||
protected:
|
||||
ClickableLabel* m_label;
|
||||
|
Loading…
Reference in New Issue
Block a user