Fix invalid escape sequence
This commit is contained in:
parent
16253d7fc3
commit
5977545ee6
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ RulesWidget::RulesWidget(QWidget* parent)
|
|||
{
|
||||
Q_UNUSED(parent);
|
||||
setupUi(this);
|
||||
QRegularExpressionValidator* validator = new QRegularExpressionValidator(QRegularExpression("[0-9\-+,xX:]*"), this);
|
||||
QRegularExpressionValidator* validator = new QRegularExpressionValidator(QRegularExpression("[0-9\\-+,xX:]*"), this);
|
||||
maxsize->setValidator(validator);
|
||||
minsize->setValidator(validator);
|
||||
position->setValidator(validator);
|
||||
|
|
Loading…
Reference in a new issue