mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
[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:
parent
10f7bac2df
commit
7d0451fe69
3 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue