mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 11:25:36 -04:00
Use revertDevice in ChoicePage, and always use a fresh Device*.
This commit is contained in:
parent
0a0a0d58e0
commit
dfededc4b4
2 changed files with 38 additions and 19 deletions
|
@ -67,7 +67,7 @@ public:
|
|||
signals:
|
||||
void nextStatusChanged( bool );
|
||||
void actionChosen();
|
||||
void deviceChosen( Device* );
|
||||
void deviceChosen();
|
||||
|
||||
private:
|
||||
void setNextEnabled( bool enabled );
|
||||
|
@ -77,10 +77,10 @@ private:
|
|||
ExpandableRadioButton* createReplaceButton();
|
||||
Device* selectedDevice();
|
||||
void applyDeviceChoice();
|
||||
void updateDeviceStatePreview( Device* currentDevice );
|
||||
void applyActionChoice( Device* currentDevice, ChoicePage::Choice choice );
|
||||
void updateActionChoicePreview( Device* currentDevice, ChoicePage::Choice choice );
|
||||
void setupActions( Device* currentDevice );
|
||||
void updateDeviceStatePreview();
|
||||
void applyActionChoice( ChoicePage::Choice choice );
|
||||
void updateActionChoicePreview( ChoicePage::Choice choice );
|
||||
void setupActions();
|
||||
OsproberEntryList getOsproberEntriesForDevice( Device* device ) const;
|
||||
|
||||
bool m_nextEnabled;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue