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:
shainer 2016-11-20 22:05:55 +00:00
parent e5f5bb99d7
commit c8dbeb5341
5 changed files with 63 additions and 12 deletions

View file

@ -62,6 +62,8 @@ private:
void updateFromCurrentDevice();
void updateBootLoaderIndex();
QStringList getCurrentUsedMountpoints();
QMutex m_revertMutex;
int m_lastSelectedBootLoaderIndex;
};