mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 20:05:37 -04:00
Avoid creating a new partition with a used mountpoint.
We get the mountpoints already used by other partitions, and disable the Ok button in the "Create new partition" dialog if the user selects/writes a mountpoint which is already used. We are going to do the same in the Edit partition dialog after testing.
This commit is contained in:
parent
e5f5bb99d7
commit
c8dbeb5341
5 changed files with 63 additions and 12 deletions
|
@ -62,6 +62,8 @@ private:
|
|||
void updateFromCurrentDevice();
|
||||
void updateBootLoaderIndex();
|
||||
|
||||
QStringList getCurrentUsedMountpoints();
|
||||
|
||||
QMutex m_revertMutex;
|
||||
int m_lastSelectedBootLoaderIndex;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue