mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 11:55:36 -04:00
[partition] Move SwapChoice to another namespace
- The choice of swap needs to be handled in more places, so make the enum available in the partition module core instead of just inside the choice page.
This commit is contained in:
parent
846e496d76
commit
5136021416
3 changed files with 30 additions and 22 deletions
|
@ -62,15 +62,6 @@ public:
|
|||
Manual
|
||||
};
|
||||
|
||||
enum SwapChoice
|
||||
{
|
||||
NoSwap, // don't create any swap, don't use any
|
||||
ReuseSwap, // don't create, but do use existing
|
||||
SmallSwap, // up to 8GiB of swap
|
||||
FullSwap, // ensureSuspendToDisk -- at least RAM size
|
||||
SwapFile // use a file (if supported)
|
||||
};
|
||||
|
||||
explicit ChoicePage( QWidget* parent = nullptr );
|
||||
virtual ~ChoicePage();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue