Fix a typo in a comment.
This commit is contained in:
parent
e512ed337a
commit
ca42730d39
|
@ -76,7 +76,7 @@ VolumeGroupDialog::~VolumeGroupDialog()
|
|||
|
||||
void VolumeGroupDialog::setupDialog()
|
||||
{
|
||||
/* LVM Volume group name can consists of: letters numbers _ . - +
|
||||
/* LVM Volume group name can consist of: letters numbers _ . - +
|
||||
* It cannot start with underscore _ and must not be equal to . or .. or any entry in /dev/
|
||||
* QLineEdit accepts QValidator::Intermediate, so we just disable . at the beginning */
|
||||
QRegularExpression re(QStringLiteral(R"(^(?!_|\.)[\w\-.+]+)"));
|
||||
|
|
Loading…
Reference in New Issue