[partition] Rename Choice -> InstallChoice

- There are more choices to be made (or to come) when partitioning,
   so don't take the most generic term for one enum.
This commit is contained in:
Adriaan de Groot 2018-09-12 10:16:48 -04:00
parent 10f7bac2df
commit 7d0451fe69
3 changed files with 10 additions and 10 deletions

View file

@ -262,7 +262,7 @@ ChoicePage::setupChoices()
{
if ( checked ) // An action was picked.
{
m_choice = static_cast< Choice >( id );
m_choice = static_cast< InstallChoice >( id );
updateNextEnabled();
emit actionChosen();
@ -386,7 +386,7 @@ ChoicePage::continueApplyDeviceChoice()
void
ChoicePage::applyActionChoice( ChoicePage::Choice choice )
ChoicePage::applyActionChoice( ChoicePage::InstallChoice choice )
{
m_beforePartitionBarsView->selectionModel()->
disconnect( SIGNAL( currentRowChanged( QModelIndex, QModelIndex ) ) );
@ -901,7 +901,7 @@ ChoicePage::updateDeviceStatePreview()
* @param choice the chosen partitioning action.
*/
void
ChoicePage::updateActionChoicePreview( ChoicePage::Choice choice )
ChoicePage::updateActionChoicePreview( ChoicePage::InstallChoice choice )
{
Device* currentDevice = selectedDevice();
Q_ASSERT( currentDevice );
@ -1356,7 +1356,7 @@ ChoicePage::isNextEnabled() const
}
ChoicePage::Choice
ChoicePage::InstallChoice
ChoicePage::currentChoice() const
{
return m_choice;